Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Help / Re: ar.exe: obj\Debug\main.o: No such file or directory
« Last post by creativegamer_03 on September 04, 2021, 04:06:43 pm »
nope. same thing.
62
Help / Re: ar.exe: obj\Debug\main.o: No such file or directory
« Last post by Miguel Gimenez on September 04, 2021, 01:50:01 pm »
Does it work now?
63
Help / Re: ar.exe: obj\Debug\main.o: No such file or directory
« Last post by creativegamer_03 on September 04, 2021, 01:40:49 pm »
You must remove main.c from the project and add jsoncpp.cpp. Probably main.c is the default file created by the wizard, and it is not necessary.
I just did. I did replace it, as well as copying in also the jsoncpp folder containing its header files.
64
Help / Re: ar.exe: obj\Debug\main.o: No such file or directory
« Last post by Miguel Gimenez on September 04, 2021, 01:23:26 pm »
You must remove main.c from the project and add jsoncpp.cpp. Probably main.c is the default file created by the wizard, and it is not necessary.
65
Using Code::Blocks / Re: Write in file without deleting its contents
« Last post by pion on September 04, 2021, 12:37:52 pm »
Sorry, I didn't know this was only for Codeblocks questions. I think I found an answer to my problem, thanks!
66
Using Code::Blocks / Re: Write in file without deleting its contents
« Last post by gd_on on September 04, 2021, 12:12:51 pm »
next time, use a general programming forum, not this one !
For example have a look in https://www.tutorialspoint.com/c_standard_library/c_function_fopen.htm
67
Help / Re: Codeblock files with debian
« Last post by juankax on September 04, 2021, 11:19:12 am »
Hi,

I am getting myself set up for C programming on the latest Debian Jessie. In the Debian Reference Manual they recommend the following command to set up the environment.
# apt-get install glibc-doc manpages-dev libc6-dev gcc build-essential

My question is should I be using the package gcc-4.9 instead of just gcc in the above command, in order to get the latest stable version. It's not clear to me what the difference is between the two packages.

https://www.debian.org/doc/manuals/debian-reference/ch12.en.html#_c
https://packages.debian.org/stable/devel/gcc
https://packages.debian.org/stable/devel/gcc-4.9

Thanks for the replies.

porno porno videos porno filme xxx fisgonas
68
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by creativegamer_03 on September 04, 2021, 11:10:06 am »
I am new, and I am starting to learn C++ from this program. Welp, that's 2 programming languages learned lol (Python and C++, unless HTML is also a programming language lel)
69
Help / Re: ar.exe: obj\Debug\main.o: No such file or directory
« Last post by creativegamer_03 on September 04, 2021, 11:06:16 am »
Oops. Sorry to confuse you about the path. The full path is actually D:\_a\jsoncpp\jsoncpp.cpp.
What I meant there is the projects folder being named "_a". I forgot to mention that "jsoncpp" is under that folder, of which this folder was created by Code::Blocks from the wizard.
70
Using Code::Blocks / Write in file without deleting its contents
« Last post by pion on September 04, 2021, 11:00:21 am »
Hello again,

I have stored some numbers in a text file and I want to read these numbers when starting my program. As far as I know, if I want to use a file in my program, I need to use fopen("file.txt", "w"), which clears the contents of the file. Is there a way to read and write a file without having to delete what's in it first, so that I can use the file to store long term information?
Pages: 1 2 3 4 5 6 [7] 8 9 10