*i am also new to C++* i'm not able to figure out where are X and Y defined i mean the capital ones.
Ratul Thakur
Posts
-
More basic C++ questions - may I ask? -
C++ syntaxi am a C++ student and i was reading some source code and found this :
void FGAPIENTRY glutMenuStateFunc( FGCBMenuState callback )
{
FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutMenuStateFunc" );
fgState.MenuStateCallback = callback;
}in the code above , the return type is void and the function name is glutMenuStateFunc() .. what does FGAPIENTRY stand for and where dois it come from?? I've also seen some similar stuff wile reading a tutorial in win32 api
-
How to master C++okay im done with my C++ book and know each bit of what it has. now o need to master it ... i guess the bookinh knowledge wont be enough and i need to get some more experience and expertise with c++ ... what do i need to do..?? what might be good ways to gain more experience?? what i can do next to increase my programming experience?? i also have a bit of knowledge of python, java, C#, javascript and HTML an xml. i have experience in operating WINDOWS( and of course DOS) and LINUX(or UNIX)
-
The main purposes of learning javawho will prefer C++ over java if both languages are gonna give the same result?! :-D ;P
-
The main purposes of learning javai've completed 60% of the book by now.... its syntax it quite similar to C# and netbeans is blowing my mind :laugh: ;P ..i recently found out that it was written in java... but the newer versions of visual studio are way better than it.
-
Problem with C++ arrays.okay thanks
-
Problem with C++ arrays.im my textbook , i was told that you daclare an array as follows:
type var[size];
where size is constant and cannot be changed later. but if i run this :
int a[2];
a[3]=10;
cout<
it does not give any error and prints:
10how is this possible.. because the size of the array was 2!! ??
please help me understand. -
The main purposes of learning java:thumbsup: thanks i've completed half of the book on java programming.... and i find this language great. And then i'm planning to learn JavaFX and then probably OpenGL with java for android developement.
-
The main purposes of learning javathanks mate, i searched google... and i think my main purpose of learning java is going to be android developement getting started now!! ive got a pdf from tutorialspoint.com .:thumbsup:
-
The main purposes of learning javano no... i dont need employement :laugh: :laugh: :laugh: :laugh: :laugh: im just 15, i mean ... .... well... i want to know that if i create a GUI app on swing, where will that be used?? ..ive never seen a commercial app developed in swing, neither a 3D opengl game in the .jar file format. Or is there a way to make platform specific binary executables?? Thanks for your help!
-
The main purposes of learning javahi, i'm an experienced C++ , C# and Python programmer. Now i'm thinking of learning java (i know the basics though). But i'm wondering what will be the use of that... i know Java is pretty popular, but it cannot run without JRE (i.e. it does not support standalone executables) and the source code is also visible (even you can extract the .jar files and view the source code).I'm also an opengl programmer (with C++), and i've seen some opengl game tutorials with java, so the question arises that where those games will be played.. ive never seen a game with .jar executable.Im also known to the popular SWING toolkit, but where are those SWING apps used, i've never seen one. So i want to know the main purpose of learning java. And i've also got my environment ready with JDK and eclipse. :thumbsup::thumbsup: :)
-
Glut errors with Mingw on windowsyea.. same is the case with codeblocks and bloodshed dev-cpp
-
Glut errors with Mingw on windowslol i solved this.... i think glut was too old for my compiler ... so i downloaded freeGLUT and it worked :)
-
Glut errors with Mingw on windowsi need to set up glut on my windows machine. i have glut.h in the include\GL folder , libglut32.a in the lib folder and glut32.dll in the windows\system folder i compile as follows: g++ -Wall main.cpp -mwindows libglut32.a -lopengl32 -lglu32 i also have the windows.h , gl/glut.h and gl/gl.h included. and actually my compiler is tdm-gcc (mingw64) it gives me lots of errors like: undefined reference to _glutmainloop... how do i solve this?
-
what is c#He is a new member, he joined about 4 days ago he is just trying to see how this site works
-
what is c#AAHHAHAHAHHAAH :laugh: :laugh: :-\ :thumbsup::thumbsup::thumbsup: :-D
-
ERROR: undefined reference to 'auxDIBImaheLoadA'YEH!!!!!!!! it worked. Thanks once again. But what is the use of "_T". if i compile without including it, the application still works fine.
-
ERROR: undefined reference to 'auxDIBImaheLoadA'Thanks a lot for your effort.., i ll try this one out and tell you if it works:thumbsup::thumbsup::thumbsup:
-
ERROR: undefined reference to 'auxDIBImaheLoadA'no m not missing the header (-_-) m not that noob. i know the
#include
header file.
-
ERROR: undefined reference to 'auxDIBImaheLoadA'Hi there.., i am learning opengl from the NeHe tutorials(NO GLUT). i am getting the error undefined reference to 'auxDIBImageLoadA' while compiling. i am using codeblocks. the codeblock is:
AUX_RGBImageRec *LoadBMP(char *Filename)
{
FILE *File=NULL;
if(!Filename)
{
return NULL;
}
File = fopen(Filename,"r");
if(File)
{
fclose(File);
return auxDIBImageLoad(Filename);
}
return NULL;
}I have added libglaux.a already in the linker settings. HELP!!!!