No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
Re: num 2 and 3 are primes if num mod 6 = 1 or num mod 6 = 5 it is possible to be a prime. or the number is a result of ( prime num * another prime num ) otherwise it is not a prime number. i hope this … | |
I am trying to compile NeHe code for win32 app in visual studio 2010. but this error appear: [CODE]cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast[/CODE] to these instructions [ICODE] if (!wglMakeCurrent(NULL,NULL)) // Are … | |
Hi, I want to make a small game,but I need help with Ruminate GUI (XNA 4.0).My question is how to put buttons in a panel that appears when the course goes over its location - let's say on the left of the screen. I have written some code but I … | |
I wonder why they use private constructors.when I was navigating java documentation I found alot of classes with private constructor.Would you tell me what are the benefits of writting them. | |
Hi I have a class which has alot of tasks related to multiple classes. the tasks are add, modify ,delete, write on a file and read array from a file.all theses methods operates on objects of other classes as a member variables. In other words, I have to perform a … | |
Hi I want to store variables in a text file (not as an object).my problem is that the class contains ArrayList of another type ,and I wrote one method to store the member variables of my class in "file.txt" ,but I don't really know how to write the ArrayList variable … | |
I am trying to implement an enrollment organizer for a university but I would ask how to implement the aggregation relationship in Java. this relationship exist for academicStaff class and the supervisor class in which the academicStaff (e.g prof.) can be a supervisor to multiple courses in a specific semester. … | |
Re: your code looks good but try to make no repeated statments "print results. also you can try to improve the way the user will interacte with your calc.i mean that the user can write "5+4" instead of 3 enters she/he would press. | |
I want to define a vector of TextBox (or any compnents) in VC++ project (windows form). I wrote : [code] std:vector <TextBox^> txt_box; // //then I push the elements back in the vector using txt_box.push_back (textbox1) // //... // for all the text_boxs in my form [/code] but this code … | |
I am trying to create a multi-form application using VC++ express 2008. I have included the header file of the 2nd form in the 1st form header. and I put this code in a function in the 1st form : [CODE] Show (gcnew form2 () ); [/CODE] but nothing happend … | |
Re: look at similar threads. try to think to implement a class | |
Re: what is the data store in the file if it is a mix between number and char u maybe use array of structure . struct data { int num; char alpha; } s[100]; all that befor the main. then f>>s[i].alpha; f>>s[i].num; if the file like a student mark with there … | |
how to write a c++ code to solve this problemes 1- make program using recourison to make a tringle (the first line has one star the second has 3 stars and the line number n has (2n-1)stars |
The End.