| | |
Three questions
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Hi men
1-I wanna ask that how an OP works.I mean you install and launch a software on an OP.But you launch an OP on what.and how is programming an OP?
2-How can i define a function that the number of its parameters is infinite.
3-The difference of programming for win and Linux and etc is about the their structure or the compilers?I mean imagine that a company builds a compiler in two versions:one for windows and another for linux.then the same program has same source code in both of them because the company is same or the source is different because the OPs are different?
Thanks
1-I wanna ask that how an OP works.I mean you install and launch a software on an OP.But you launch an OP on what.and how is programming an OP?
2-How can i define a function that the number of its parameters is infinite.
3-The difference of programming for win and Linux and etc is about the their structure or the compilers?I mean imagine that a company builds a compiler in two versions:one for windows and another for linux.then the same program has same source code in both of them because the company is same or the source is different because the OPs are different?
Thanks
1) http://www.cplusplus.com/reference/clibrary/cstdarg/
2) Application Programming Interface - google it
4) Not a great deal, take XNA development for example.It uses C# the only differnce with developing windows applications to Xbox360 applications is that fact thatyou have to account for the different controller
Chris
2) Application Programming Interface - google it
4) Not a great deal, take XNA development for example.It uses C# the only differnce with developing windows applications to Xbox360 applications is that fact thatyou have to account for the different controller
Chris
Knowledge is power -- But experience is everything
hey men
again me with questions
1-Is it possible to declare an array with the number of elements entered by the user?
2-Is there any way to know how many elements an array has(no I don't know the answer of my last question.I mean when you define a pointer and give elements to its next addresses.) to use in a for loop for example?(please don't tell about null-terminated arrays because it has some problems.)
thanks
again me with questions
1-Is it possible to declare an array with the number of elements entered by the user?
2-Is there any way to know how many elements an array has(no I don't know the answer of my last question.I mean when you define a pointer and give elements to its next addresses.) to use in a for loop for example?(please don't tell about null-terminated arrays because it has some problems.)
thanks
1)
2)
C++ Syntax (Toggle Plain Text)
int *myArray; int n; cin >> n; myArray = new int[n]; .... delete [] myArray;
2)
C++ Syntax (Toggle Plain Text)
sizeof(myArray)/sizeof(int)
Knowledge is power -- But experience is everything
![]() |
Similar Threads
- I have a few questions to be patched up can anybody get these to me ? (C++)
- Questions about Forum (Geeks' Lounge)
- Preparing for an interview and need some questions answered (C)
- Wireless Questions (Networking Hardware Configuration)
- Linux printing questions (*nix Hardware Configuration)
- Tutorials & Code Submissions - Questions? (DaniWeb Community Feedback)
Other Threads in the C++ Forum
- Previous Thread: Need Help please
- Next Thread: How to assign a title
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






