Giter Site home page Giter Site logo

pocketcpp's Introduction

Pocket C++

Portable and easy to use editor to write and test C++11/14/17/20 snippets.

Features

Download

Pocket C++ 0.8 Windows 64-bit

See FAQ for installation instructions and more.

Notes

  • The .cpp file must be self-contained (it must contain a main() function),
  • The file is compiled using -std=c++2a flag with gcc 9.2.0
  • Static linking (-static) is used to generate the output (.exe file), in this way it doesn't depend on external .dll (e.g. C++ runtime).
  • In next versions you'll be able to link multiple .cpp files and to use third party libraries like Boost and SDL (which are already included in the Pocket C++ distribution).

Pocket C++ looks like (is) Notepad++

You can press F9 to compile your .cpp files. If there are compilation errors you can double-click them to go to the specific line.

You can press Ctrl+F9 to execute the compiled program

pocketcpp's People

Contributors

dacap avatar googlecodeexporter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pocketcpp's Issues

Add an option to change the working directory

By default programs should be executed with their same directory as working 
directory (so I/O is more intuitive). Also it should be configurable.

More info: 
http://stackoverflow.com/questions/18886261/pocket-cpp-nppexec-where-does-it-sea
rch-for-txt-files-when-using-ifstream

Original issue reported on code.google.com by davidcapello on 24 Sep 2013 at 5:27

gdi+ and windows errors

When I was using gdiplus and just gdi a few errors came up on me :? I have no idea how to fix them.
EX:
C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0xa5): undefined reference to __imp_CreateCompatibleDC' C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0xc2): undefined reference to__imp_CreateCompatibleBitmap'
C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0xda): undefined reference to __imp_SelectObject' C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x108): undefined reference to__imp_GetStockObject'
C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x136): undefined reference to __imp_SelectObject' C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x146): undefined reference to__imp_DeleteDC'
C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x1a9): undefined reference to __imp_CreateCompatibleDC' C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x1c1): undefined reference to__imp_SelectObject'
C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x20c): undefined reference to __imp_BitBlt' C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x220): undefined reference to__imp_SelectObject'
C:\Users\JOHNS_~1\AppData\Local\Temp\cckUtaZ9.o:graphics_Test.cpp:(.text+0x230): undefined reference to `__imp_DeleteDC'
I would Like to know If these can be fixed, or if I have to include something to fix them.

Virus issue??

Everytime I have downloaded this I get some kind of rootkit or malware that starts making remote connections to my network. Does anyone else have this issue? I have a brand new hard drive (this virus has taken over my old one and I don't have time to deal with it right now, its finals week) and this is the only thing I've downloaded besides all the updates through microsoft update, windows defender, and sophos anti-virus software. All directly from their sites. This is the only third party I've downloaded but it seems to malicious.

how to use this?

What steps will reproduce the problem?
1.open pocketcpp
2.F9 to compile the quick start

output in console:

CreateProcess() failed with error code 2:
The system cannot find the file specified.

newest version 64bit on windows 8



Original issue reported on code.google.com by [email protected] on 28 Oct 2014 at 3:39

CreateProcess() failed with error code 193:

What steps will reproduce the problem?
1.Compiling the program
2.
3.

What is the expected output? What do you see instead?
CreateProcess() failed with error code 193:

What version of the product are you using? On what operating system?
4.8.1, Windows xp.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Oct 2014 at 1:10

64-bit windows incompatible

What steps will reproduce the problem?
1. to run a program in Windows 8.1 (after compilation) running 64-bit AMD 
processor.

2.
3.


What is the expected output? What do you see instead?

The program is working fine for last several months until last few days. 
Microsoft Windows tells me that this is 64-bit architecture whereas the 
executable is 32-bit program to run.

"The program ... cannot start or run due to incompatibility with 64-bit 
versions of Windows. Please contact the software vendor to ask if a 64-bit 
Windows compatible version is available."


What version of the product are you using? On what operating system?
I have downloaded pocketcpp about 1 month ago (newest release) and using it 
since then.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 Oct 2014 at 8:37

C++ plugins for Notepad++

What would you like to see in Pocket C++?

Some plugins for C++ development: 
http://stackoverflow.com/questions/3838659/useful-notepad-plugins-for-c-c-develo
pement

Original issue reported on code.google.com by davidcapello on 21 Jan 2014 at 2:01

Cannot install pocketcpp from the 7zip self extractor provided on this page.

What steps will reproduce the problem?
1. I downloaded pocketcpp from the downloads page.
2. I initialize the 7zip self-extracting installer.
3. Within seconds, the installer shows an estimated time of over 4 hours (and 
rising), it does not process the extracted files

What is the expected output? What do you see instead?

I expected to see a 7zip installer that works


What version of the product are you using? On what operating system?
I am using the latest version on Windows 7.

Please provide any additional information below.
I'd love to use pocketcpp, but the installer just doesn't work

Original issue reported on code.google.com by [email protected] on 22 Nov 2014 at 10:22

Compatibility issue?

I tried to execute an helloworld.exe but I rec'd the following error message...
CreateProcess() failed with error code 216:
The program or feature
"??\D:\Downloads\pocketcpp\pocketcpp"helloworld.exe" cannot start or run due to incompatibility with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
I'm probably missing something but not quite sure, I did not download the 32-bit version.
I tried both the 0.4 and 0.5 x64(for 64-bits) but to no avail.
My system: AMD A10-7800 / Win 8.1(x64) /

Error when running Pocket C++.bat

What steps will reproduce the problem?
1. Double clicking Pocket C++.bat to start the program causes the error.


What is the expected output? What do you see instead?
I expect the pocketcpp program to load so that I can use it to write code.  
What happens instead is I get an error message that says "'M' is not recognized 
as an internal or external command, operable program or batch file."  I also 
get a popup error message that says "Windows cannot find 'notepad++.exe'. Make 
sure you typed the name correctly, and then try again."  I've attached a 
screenshot image of the error message.

What version of the product are you using? On what operating system?
The product version I'm using is pocketcpp-0.4-x86.exe.  I've also tried using 
pocketcpp-0.4-x64.exe and had the same problem with that version as well.  My 
operating system is Windows 8.1 64bit.

Please provide any additional information below.
The program does not run.  It seems that the Pocket C++.bat file attempts to 
execute notepad++ but the path is wrong, and I don't know how to fix that.

Original issue reported on code.google.com by [email protected] on 22 Jan 2015 at 5:19

error code 2

What steps will reproduce the problem?
1.open pocketcpp
2.F9 to compile the quick start

output in console:

CreateProcess() failed with error code 2:
The system cannot find the file specified.

newest version 64bit on windows 8




Original issue reported on code.google.com by [email protected] on 31 Oct 2014 at 5:26

Automatically link to used libraries

What would you like to see in Pocket C++?

Add support to compile projects that use libraries like SDL, Boost, libpng, 
etc. (All libraries included in the MinGW Distro should be supported.)

Implementation: It will require some kind of special command that parses 
#include directives and generates the compiler flags automatically.

Original issue reported on code.google.com by davidcapello on 8 Sep 2013 at 12:04

Make with Synwrite

It would be good if version with Synwrite exists. It's also avail in portable 
version like NPP and has snippets (like ST3)..

Original issue reported on code.google.com by [email protected] on 19 Dec 2014 at 4:30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.