Beginners - April 2012 (Page 36)

Is there a difference in (void) and ()?
 
The tittle is a little vague, let me elaborate. Is there a difference between these two functions...
[3 replies] Last: Hmmm...interesting. I never learned any programming languages other th... (by voyance)
Needing tip with multiple deque.erase
 
Hi everyone! I'm working on a little project, that in general terms, interacts with a .csv file with...
[3 replies] Last: You're welcome :) (by TheDestroyer)
Use of enum's?
 
Can someone please explain to me the real valuable reasoning behind using enums. At face value to me...
[1 reply] : It just makes life easier for periodic events, like weekdays, months n... (by TheDestroyer)
Need help with a vector of vectors
 
Hi all, I am trying to work with a vector of vectors... just trying to do basic operations with it....
[8 replies] Last: Thanks Destroyer and Stewbond for the life raft ! That one had me tot... (by iDontGetIt)
Linker error
 
I am getting an error when calling upon my function choice I cannot seem to figure it out, any help ...
[2 replies] Last: replace int choice ( int response()) with int choice ( int respons... (by Stewbond)
Using strchr?
 
In a winsock program, I'm making, the client recieves a stream of data that is then put into a char...
[1 reply] : I'm not sure if you're using c++ or C, Here is what I would do, but it... (by Stewbond)
Declaring pointers to an array... or something?
 
I've been working on a little home project to increase my skill as a programmer. It's a basic inven...
[6 replies] Last: string* pszArr = new string ; ^ ^ ^ ^ ^ ^ | | ... (by Stewbond)
Find error plzzz...
 
FInd Error plz....when we ask user whether he wanna continue or not he enters y but program ends but...
[3 replies] Last: speacial thanks to "LowestOne" and as well as "TheDestroyer" code real... (by programmerx)
by pooshi
Matrix with srand
 
What up Gents? I have this code here and I wanted to use srand() to fill it instead of my own liter...
[2 replies] Last: To add to what oonej said, srand() is used to seed the rand() function... (by BlackSheep)
My first program
 
Hello, I am very new to C/C++ and any programming language and I am attempting to write a program. T...
[10 replies] Last: .... if (dis < 0) { imag = sqrt(dis); imaganswer1 = (-b+imag); imag... (by nerdycameron)
need assistance on setting up arrays
 
I am trying to learn arrays and having issues creating the arrays I need to keep a program running. ...
[15 replies] Last: [quote=altbdoor]i had hoped to focus on making dsustudent59 understand... (by S G H)
Dice game?!!?I need help with EVERYTHING!! (1,2)
 
Hi I have to not wan to but have to take C++ as my course we are given this homework, CAN YOU PLE...
[21 replies] Last: Off of the intended topic, as a mechanical engineer programming is VER... (by Stewbond)
by Atari
Need help with function.
 
Hello, I wrote a program, witch finds how many digits 2 appear in the number and then multiplies th...
[3 replies] Last: Something like this? #include <iostream> using std::cin; using std::... (by Stewbond)
Expected primary-expression before ',' token error
 
Hello and thanks for taking the time to help me. I am writing a program that prints a dagger-like de...
[3 replies] Last: Thanks a lot guys! I thought it would have been something silly like t... (by mysterioscone)
Football ticket reservation
 
hello guys, i'm a beginner user of c++, recently i need to build a system based on football reser...
[13 replies] Last: https://docs.google.com/open?id=0B5JGUxzaMyuJUENzZGdoeVI2a3M https://... (by hankydorky)
Division function returns int.
 
#include<iostream> int add(int a, int b) { int sum; sum=a+b; return sum; } in...
[2 replies] Last: thanks! (by cplusfreak)
Help using 'while' and 'for' loops
 
I've recently started learning programming at university and I've been asked to write a C++ program ...
[1 reply] : I don't see any problem. 3 2 +...+8 2 = 199. Could you be that you mi... (by hamsterman)
My 1st programme?
 
after some trying and testing and scratching my head i managed to come up with this ..... // my t...
[11 replies] Last: I personally think C++.NET is a joke. .NET is good in c# and VB, but s... (by ResidentBiscuit)
trouble with writing loops
 
Been having trouble creating a simple loop program. One my third attempt using a fully new code. Fun...
[3 replies] Last: He forgot () wherever necessary, but wrote it everywhere where it is u... (by Shinigami)
by Yume
Problem with strcmp
 
The problem says that if we are given a text we have to post every sentence on a new row. And we kno...
[3 replies] Last: I used the strtok function and it worked now. Thank you! (by Yume)
April 2012 Pages: 1... 3435363738... 66
  Archived months: [mar2012] [may2012]

This is an archived page. To post a new message, go to the current page.