Beginners (Page 3)

help me with functions
in the race (placebet , userResponse) function the compiler is telling me that i have too many argum...
[1 reply] : You need to make sure that function prototypes, function definitions a... (by wildblue)
what is a return value
hello, i want to know what is a return value in a function! please i don 't want complicated words ...
[2 replies] Last: If you need a definition just look it up! For instance, the tutorial ... (by cnoeval)
struct vs array
what is the use of struct if i can just use array rather than creating object of a struct again and ...
[9 replies] Last: I think you're missing that you can also have an array of structs. St... (by AbstractionAnon)
How to print special keys
Hi, I'm using visual studio and can't seem to print and repeat alt 205 several times on the scree...
[1 reply] : You don't need the assignment "=" or the \ string s ( 20, '=' ); or ... (by PCrumley48)
prompt the user to rerun the program
I completed this program, but I want to promt the user to re run the program by pressing y or n for ...
[4 replies] Last: Yup - if answer is char; if answer is string, double quotes. I someti... (by PCrumley48)
Message encoder malfunction
I am attempting to make a program that will encode (or scramble) a message that can be decoded by th...
[1 reply] : The statements in the function are getting run in sequential order, so... (by wildblue)
What is a pointer notation?
Write your question here. I am wondering what a pointer notation is in C++. Can someone provide me a...
[1 reply] : int *ptr; ///pointer , these ppointer can only store an address to ... (by andy1992)
by krad23
Function with argument by reference
Is there any actual difference between these 3 function declarations? int f(int x) { return x; ...
[2 replies] Last: int f(int x) ; Can be called by passing any integer expression - lv... (by JLBorges)
How to read about error expecially about unresolved errors?
If I have this error Error 1 error LNK2019: unresolved external symbol "class std::basic_string<...
[6 replies] Last: I see. Thats really annoying. I hope they add that feature on next c+... (by procastination)
Why do I get the wrong answer?
When I run this code I get a sum of 473 instead of a correct sum of 495. Why am I not getting the ri...
[4 replies] Last: sum = *p + arysum(++p, --size); I suspect undefined behavior (but I ... (by pheininger)
by msrt92
Convert code from java to C++
Please convert this code from java to c++ :) public class Organization { // instance var...
[4 replies] Last: Thanks You so much dear (by msrt92)
VS2013 issue, been going at this for awhile now
So I am reaching how to you guys in hopes of a solution to his problem I have been having. I am ...
[3 replies] Last: ... good luck. (by kbw)
by atdc94
Input Files
I am having trouble writing this code. I am somewhat close I think but I really need some help. Here...
[no replies]
Need help with class
so i need a class that asks the user for their name and then returns "Hello<name>" so far this is wh...
[4 replies] Last: alright so i changed all the things to string but the issue im having ... (by keyko18)
Why is my loop not working?
Why is my loop not working? Can you please help me fix it? #include <iostream> using nam...
[1 reply] : Line 85 while (dates_invalid=false); You are not checking anything... (by Pindrought)
If then Else
im trying to make this program work. it is supposed to print man when we enter male,Male,M or m and ...
[6 replies] Last: now its working.. thanks alot.. much appreciated... :) (by SohaibAJ)
How to Center Text in C++
Hi, I'm using visual studio for C++ program and want to center my menu list at the center of the ...
[no replies]
by krad23
Functions with arguments by reference
Is there any actual difference between these 3 function declarations? int f(int x) { return x; ...
[1 reply] : Yes, the parameter types are different. (by helios)
Pairs with vector
Hello, I want to use std:: pair with vector, how should it be implemented? I have this so fa...
[3 replies] Last: string values to type int You want to convert strings to correspondi... (by MiiNiPaa)
by clodi
Array VS matrix
Hello, I know that I have been asking about arrays 2D arrays and matrixes for a quite a while but f...
[4 replies] Last: You have to explain more, because your code fragment merely gives an e... (by keskiverto)
Pages: 12345... 107
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.