Questions tagged [tdm-gcc]
49 questions
-1
votes
1 answer
Incorrect output from file
I am trying to input some data into a file and then read and print it on the console.
Here is my code:
fp=fopen("user1","w+");
char line[1000];
char *c;
//write on file
while(1)
{
fgets(line,sizeof(line),stdin);
…

Sarthak Mehra
- 359
- 1
- 2
- 12
-1
votes
1 answer
nullptr not declared even with C++11 and C++14 enabled
I just installed CodeLite and the latest version of the TDM-GCC compiler. It supports both C++11 and C++14. However, when I write a program using nullptr it is still telling me that 'nullptr' was not declared in this scope .
What else do I have to…
user6365860
-2
votes
1 answer
How do I correctly use 64-bit TDM-GCC with cgo?
I'm attempting to use a library at github.com/hajimehoshi/ebiten. Regardless of what I do, I'm met with this error:
# github.com/go-gl/glfw/v3.2/glfw
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in
# github.com/go-gl/gl/v2.1/gl
cc1.exe:…

Orange Receptacle
- 1,173
- 3
- 19
- 40
-4
votes
1 answer
Why *.o (object) file is not created while compiling C Program through Command Prompt?
While using code blocks *.o (object) file is created when I hit Build button.
But, while using Command Prompt *.o file is not created. What is the reason?
I am using TDM-GCC-64.

GIRISH
- 101
- 1
- 8