
please wait
by Umar Dafedar
what exactly is the difference between int main() and void main()
|
I am new to software languages..Please explain me the difference between int main(){ } and void main(){ } |
Jun 5, 2011 at 8:41am
[1 reply] : Since the standard dictates that main has to return int, the first one... (by Athar)
|
Bubble Sort issue |
I'm doing the 'Pancake Glutton' exercise listed here: http://www.cplusplus.com/forum/articles/12974/ Actually, I'm working on the ★★★★ modify, tryin... |
Jun 5, 2011 at 8:38am
[5 replies] Last: Thanks, kev82. That got it. (by killingthemonkey)
|
Database Program |
i am trying to make a database (of Spanish questions), but i have no clue on how to do this. Once i have a database, i will need help making a program that ran... |
Jun 5, 2011 at 8:02am
[7 replies] Last: I would go with option 1 and sqlite. If you don't know sql, you would ... (by kev82)
|
by axeves
Help with Headers
|
Hi. Can you explain to me on how to "inherit" (if that's the right word) stuff from a header file, and on how to write one? (A header file) Like if i wrot... |
Jun 5, 2011 at 7:41am
[2 replies] Last: #include "ClassB.h" Just copies the whole content of the file to the... (by Breadman)
|
by cppwarrior
Why not Console?
|
Hi everyone, While going through some posts I noticed that if someone wants to do a little extra, may be make a game, then that guy is discouraged to do so ... |
Jun 5, 2011 at 7:03am
[5 replies] Last: The SFML tutorials: http://sfml-dev.org/tutorials/1.6/ (by Athar)
|
by IKNOWNOTHING
Seperate Computer for programming?
|
Hi everyone I havent even begun programming yet but I am very interested in learning. I was wondering if I should buy a separate laptop to learn to write code o... |
Jun 5, 2011 at 5:15am
[7 replies] Last: Yesterday, I accidentally wrote a program called "ping" that created 2... (by helios)
|
by deeus18
Help: Installing CLAPACK with VS2010
|
Hi, I am trying to learn C++ on my own and that's why I am in this forum. Anyway, I am trying to perform some linear algebra operation using CLAPACK. Howe... |
Jun 5, 2011 at 4:27am
[8 replies] Last: Thanks modoran for reading my post. Here is scrrenshot uploaded ... (by deeus18)
|
by fiona
Random Numbers in an Array
|
I am brand new to C++ and working on a homework assignment (just need to get past this hump). I have a function that is working with an array of 3 numbers. I'm ... |
Jun 5, 2011 at 3:04am
[6 replies] Last: Thank you so much guys! My friend told me to use an itoa function but ... (by fiona)
|
by TAMH
Help with my Blackjack program
|
Hey everyone, For my final program in my C++ Programming I class we had to create a program that we had interest in. Since I enjoy card games I decided to cr... |
Jun 5, 2011 at 1:11am
[3 replies] Last: Something someone should point out, Borland is way out of date (*hint*... (by Danny Toledo)
|
by gotBytes
Complier error
|
#include "stdafx.h" #include <iostream> using namespace std ; int main () { int x = 6 ; cout << x ; x = 9 ; cout << x += 1... |
Jun 4, 2011 at 9:51pm
[3 replies] Last: Wrapping the computation in parentheses will change the order of prece... (by closed account zb0S216C)
|
by Passion
Char array new form ?
|
What does it mean when the char array is used in this form Char array[1<<19]; Can someone please help? Thanks :) |
Jun 4, 2011 at 9:31pm
[3 replies] Last: Thankss ^_^ (by Passion)
|
by rucafe
Using classes to retrieve data
|
I have a file that contains thousands of numeric entries sorted into four columns. The structure of the data looks something like the following: 3 0.2 0.5 ... |
Jun 4, 2011 at 9:03pm
[1 reply] : You want to create a collection. See http://www.codeproject.com/KB/tr... (by webJose)
|
by john369
help with functions
|
Hello everyone, I am new to programming and this is my first class. I am having couple of errors. I am not getting the taxRate info correct unless and until t... |
Jun 4, 2011 at 7:35pm
[2 replies] Last: taxRate = grossPay * .23; i think the problem is there. taxRate is... (by Breadman)
|
STL is a toy for beginner? |
My senior say, stl is a toy for beginners Because those beginners can't implement the algorithms and data structure by themselves Those mature and skillful prog... |
Jun 4, 2011 at 6:10pm
[3 replies] Last: Looks like there are no way to solve this kind of problems Somebodies... (by stereoMatching)
|
by alanmenhaj
difference between using cin.peek and simply calling a character variable
|
hi, im a beginner to c++ and just recently got stuck on something. consider this program: #include <iostream> using namespace std; int main() { cha... |
Jun 4, 2011 at 5:11pm
[1 reply] : [co de] "Please use code tags" [/co de] while (ch == '#') //ch ne... (by ne555)
|
by Lukedude100
Check Multiple Numbers With a Switch Statement
|
I am having a problem with switch statements. I would like to check multiple numbers in one case, but can't figure out how to do so. Any help would be appreciat... |
Jun 4, 2011 at 3:49pm
[1 reply] : int i = 5; // any value here switch (i){ case 0: case 1: case... (by modoran)
|
by Umar Dafedar
I am beginner to programming
|
After writing a code I tried to run the program. I am getting an warning saying Source file not compiled. and It is also mentioning such a file is not found |
Jun 4, 2011 at 2:32pm
[1 reply] : You must compile (or build) the code. Which IDE are you using? (by lfnunley)
|
by Umar Dafedar
use of namespace
|
for what purpose we use using namespace std; |
Jun 4, 2011 at 2:28pm
[3 replies] Last: C++ got a proteccion for the colisions with names, for example a funci... (by Aikon)
|
by Umar Dafedar
I typed this program. this program is not displaying the output
|
#include <stdlib.h> #include <iostream> using namespace std; int main() { int x; std::cout<<"Enter the value of x"; std::cin>>x; ... |
Jun 4, 2011 at 12:39pm
[7 replies] Last: [quote=helios]There's two possible interpretations for what you said, ... (by closed account zb0S216C)
|
by ssk1990
How do i return an array from a function?
|
I have an array in a function call and i want it to be sent to the main program. //prototype float functionA(float f, float g); . . . float funct... |
Jun 4, 2011 at 11:03am
[1 reply] : It can't be done directly. http://www.cplusplus.com/forum/beginner/436... (by helios)
|