Beginners (Page 9)

reversing a string method
 
Hi people I've been studying all day trying to find a way to reverse a string and I've found one the...
[2 replies] Last: #include <iostream> #include <string> using namespace std; int mai... (by Thomas1965)
How to Input data directly into the table?
 
Hi There! I am dealing with two dimensional arrays. I am trying to make a table for Number of seats...
[1 reply] : What makes you think it's not happening correctly? Your cin statement... (by AbstractionAnon)
Need help with making a function, not sure why it won't work
 
I am supposed to make a function that does the following: If a1 has n1 elements in nondecreasi...
[5 replies] Last: @Tyler The usual comparison operators (non-member) are all available f... (by tipaye)
trying to reverse a string
 
hi guys I'm trying to reverse a string but I get an error using the reverse function #include <ios...
[2 replies] Last: Thanks Moschops,I normally would give the compiler error message but t... (by adam2016)
Problem in the code
 
Write a program to create palindrome words by using the string entered by users. Your program should...
[3 replies] Last: #include <iostream> using namespace std; int main() { string st... (by nader altayara)
hex stores into a variable ?
 
How do i store hex value in a variable ? Like this ; int show = 1; int hex = 0x2; ...
[3 replies] Last: #include <iomanip> // ... std::cout << std::hex << hex; (by Zhuge)
Im getting this error in if-condition for string. I cant figure out why
 
I'm practicing strings and and i can't figure out the error coming at line 31. #include <iostream...
[5 replies] Last: See http://www.cplusplus.com/reference/string/string/at/ (by Chervil)
vectors scope
 
Hi guys I was expecting an out of scope error in my program but it worked fine with no errors I'm ju...
[3 replies] Last: if it's not declared inside a function/class/struct... it's a global s... (by Moooce)
Can't even get "Hello World" to work!
 
Please forgive my complete ignorance here, but I am probably the only beginning programmer that c...
[4 replies] Last: thx. got it now. sorry for asking question that someone else asked bef... (by froglips)
vector<bool> error with pointers
 
Hello everybody and thanks for your help! :-) I'm trying to write a simple code which has two class...
[4 replies] Last: > I used a pointer to a specific element of the vector because many Lo... (by JLBorges)
Unknown Number of needed Variables
 
Hey guys, quick question here, the title says it all, but to give you an example: If you want t...
[1 reply] : Use a vector of points. Fetch input, create point, push_back point to... (by Moschops)
What is a good side programming language for C++?
 
I've been thinking about future careers in the programming industry, and some people tell me that C+...
[5 replies] Last: If you know C++, you will go through other languages with ease. (by Uk Marine)
haalp! Class and store data
 
Im making a project and its about a parking area for cars with several floors, line and columns. I ...
[1 reply] : I tried to use linked list, but i cant make it work, theres any other... (by coder777)
File input cannot be read when running the program
 
Hi, I would like to ask if there is any error in my code because I cannot read my input data when I ...
[1 reply] : You should always check if the file opened correctly before to try to ... (by Thomas1965)
Getting exception CrtIsValidHeapPointer
 
I've been trying out exercises from Stroustrup's PPP book. I've stumbled upon some errors and I dont...
[2 replies] Last: Ah i see. Thanks alot for pointing it out, silly oversight by me. (by soyasoya5)
CreateThread() Help!
 
CreateThread() in windows Kernel32.dll to create multithread Application. How can i pass multiple ...
[1 reply] : Any data pointer can be casted to 'void *', so you can pass a pointer ... (by helios)
Palindrome Problems
 
I've run into a small issue with my palindrome code that I need to do for homework and I was hoping ...
[9 replies] Last: I think you'll find it much easier to create a function that will take... (by dhayden)
Exception thrown: Read access violation
 
Hi, I am working on an assignment and there seems to no error in my code but when debugging, I get t...
[4 replies] Last: Exception thrown: read access violation. _Other was 0x20 . Any tim... (by dhayden)
by Ejay
need help.
 
I have to make a lil program that does the following: - Asks user to input a 10 digit number - Che...
[6 replies] Last: #include <iostream> #include <sstream> using namespace std; int ma... (by adam2016)
Remove all whitespace from a std::string?
 
I want to remove all whitespace from a string. Here's what I have so far: (expression is the string...
[4 replies] Last: Thanks guys! (by Tyler T)
Pages: 1... 7891011... 37
  Archived months: [apr2016]

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