Beginners (Page 3)

string to integer
 
hi, can anyone help me with the use of stoi function. i am getting the following error message-"te...
[8 replies] Last: Thank you!! the patches made it work. (by rajroushan95)
by Xhobi
Solve it please !!
 
Write a program which print class report. There are 5 students in the class. Total subjects are 5 (P...
[4 replies] Last: Sorry for it. I know i have to do this. (by Xhobi)
by EvE12
Exception handling
 
How to try and catch this error? do { cout << "Please enter number of rows of...
[2 replies] Last: Works, Thanks (by EvE12)
please helpme
 
hi, emm I don't understand but, my program on the moment to run, say : segmentation fault, and I don...
[2 replies] Last: thanks, a friend does tell me who's the problem, thanks tcs (by JOSEluis2796)
Parse issue, can you find it?
 
keep getting a "parse issue, expected ')'" where is it?? } else if(age >= 80 && ((age > 100) !! ...
[5 replies] Last: thanks! (by musabji)
Pass arguments to stuff? HOW IZ DO???
 
I'd like to be able to pass arguments to functions, based on user input. For example, the user co...
[11 replies] Last: This std::istringstream s(in); return {std::istream_iterator<std::stri... (by MiiNiPaa)
help please
 
So I am making a game in C++ and this is a portion of the code i am having a rough time with. So wh...
[6 replies] Last: Thank you guys i figured it out (by mercedec)
learning to write a function
 
whats wrong with this program... and can we have different variables in function prototype and funct...
[6 replies] Last: 1. When does the function need return value? In C++, you give the ty... (by dhayden)
what's wrong ?!
 
ok so.... I have this formula: T(n) = n(n+1)/2 where n = 123456789. I have to calculate sum of...
[10 replies] Last: Okay, the problem is that (123456790 * 123456789) /2 is an integer e... (by dhayden)
Declaring 2d arrays globally and locally
 
Hello. In this example int main() { int A ; return 0; } the program doesn't work, and a...
[4 replies] Last: Local variables are stored on the stack which is typically smaller tha... (by dhayden)
MySQL Connector efficient use
 
I am fairly new to SQL and I want to make sure I am using the connector as efficiently as possible B...
[no replies]
help with a function
 
Need a little help with the following: function sum4 seems to always return value 1 no matter what ...
[2 replies] Last: Thanks for the quick reply, this has indeed fixed the problem. Do comm... (by nerdpwn)
by Jon15
Classes and functions
 
Hi, I know I can't ask for a program to be written for me (I wish), but I am lost and almost overwh...
[14 replies] Last: @Jon15 --- To give you an example on why we need a constant 48 I will ... (by PopEye)
by savanh
help me
 
hello, i worte this code but i want to reverse the elemnts after show up in screen but i stuck and i...
[3 replies] Last: Does this fit your intention? #include <iostream> using std::ostream... (by tcs)
Letter and number
 
What is the variable that allow both letters and numbers inside? Here is an example of the code. It ...
[4 replies] Last: Char can hold charachters (both, numbers and letters). Like Minipa sai... (by hekri)
A few questions about pointers
 
Hello, so I've been learning about pointers, and I have a few things that need clearing up. Consi...
[1 reply] : If part of a functions body, line 1 creates a pointer on the process' ... (by tcs)
why does this code throw an error
 
Hi , am faced with a little bug here, I don't get why my compiler couldn't afford to convert the par...
[2 replies] Last: Absolutely correct it's workin now, thank you very much @Yanson for th... (by andy1992)
colors problem
 
hi, i have made this ascii game and i am still working on it it have some bugs like invisible walls....
[1 reply] : #include <iostream> #include <Windows.h> #include <string> char color... (by Yanson)
by savanh
help
 
hello, i hope you doing well all of you . i have a question how can i find the max and the min value...
[3 replies] Last: thank you so much for help me with that i appracit it thannnnnk you mi... (by savanh)
how uppercase and lowercase be identified as one variable type?
 
Sorry, I really do not have idea on how to make the uppercase and lowercase be identified as one var...
[2 replies] Last: Thank you very much! :) (by kimmykals)
Pages: 12345... 111
  Archived months: [oct2014]

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