Beginners (Page 8)

by oOoOo
help with pointers?
hello, I have a gameBalls class and a gameWindow class. so in gameWindow.h I have : gameBal...
[9 replies] Last: [quote=oOoOo]in order to add the gameBalls object to gameWindow it nee... (by Peter87)
Trouble using getline and using ostream& operator<<
I am currently having a little problem. I have all my code currently working except for when I go to...
[4 replies] Last: Thank you so much! (by joe864864)
C++ homework help
Hi guys, I am having trouble with this assignment of mine: Write a complete C++ program that asks...
[4 replies] Last: @smartypantzss It worked correctly. The integer one was the right one.... (by Nicholson)
by tr0ne
Sum of each digit
[10 replies] Last: Always avoid global variables unless absolutely necessary. I'm not eve... (by integralfx)
vector insert function
i have a question regarding vector about having multiple info. for example if i have a file that con...
[3 replies] Last: Then use 3 vectors. vector<string> firstname; vector<string> l... (by AbstractionAnon)
prime numbers
how I can write program print all prime numbers using by recusion function? #include<iostream>...
[2 replies] Last: I need to edit code abov (by mohabd73)
typeid on vector
From the snippet of code below - is there anyway to return the actual name of the object? Thanks ...
[6 replies] Last: Thanks everyone! (by jamesfarrow)
scanf , printf
the reference says the %s should be a string type arguement but when i implemented it the compilers ...
[7 replies] Last: Cool so basically %9s iterate over the string which is basically an ar... (by zeroblank)
Initialising and updating classes whose members have types defined by other classes
I have been trying to get though the drill in chapter 9 of B.Stroustrup's text "Programming: Princip...
[5 replies] Last: Date::Date(int dd, month mm ,Year yy) : d(dd), m(mm), y(yy) { // Or... (by cire)
[Not solved]Allow access to Private from external object method
Hi, I can not give access permission to a single method of a struct to another private structure pa...
[7 replies] Last: #include <iostream> #include <string> class control; class kaos; cla... (by ne555)
need help with this
write a program that reads a line from a file called quote.txt containing the text, a.b.c.d.e,f an...
[14 replies] Last: Use a for loop to go through each character in the string. If you don'... (by kemort)
Exception throw error
Exception thrown at 0x0F7D40DA this code works fine,first matrix 3x3 and second matrix 3x2 it give ...
[3 replies] Last: arr = new int*[ row ]; for (int i = 0; i < col ; i++) do a desk chec... (by ne555)
by rrush1
Having a problem I have to display a table with values of different activities using the very basic ...
[4 replies] Last: You're getting confused about the syntax for the following things: - ... (by MikeyBoy)
by mounir
building under windows without using IDE
hi, i have the source code for GLFW (an opengl library) is there any way to build it for mingw compi...
[4 replies] Last: Thanks for help:) i find my solution here How To Compile Software Fro... (by mounir)
only revealing some letters at a time
Hi, I need help with unhiding a letter from a hidden sentence if the user guesses a letter that is ...
[3 replies] Last: #include <iostream> #include <string> #include <cctype> #include <alg... (by lastchance)
Find the highest number in a file
I am able to generate 100 random numbers but i need to find the highest after that. What i have now ...
[7 replies] Last: Note: MAX_VALUE = 1000 is probably a more convincing choice, or altern... (by kemort)
error message: abort() has been called
I have wrote a small function that swaps array elements and count the number of swaps. int swa...
[4 replies] Last: @mbozzi that makes so much sense! thank you :) (by ejkang62)
How to run more the one input on one line
I need a for loop to test all the possible divisors from 2 up to half the integer being tested. the ...
[9 replies] Last: Avoid deep nesting of loops, conditionals etc., and programming become... (by JLBorges)
Storing Data in a Tree-Like Structure?
In my code, I need to find a way to store multiple data types together in a sort of tree structure, ...
[1 reply] : Put this information together into another struct? struct COURSE{}; ... (by gunnerfunner)
Having trouble converting string to int.
Whenever I compile, it says that stoi ws not declared in this scope. How can I fix line 47 so that I...
[1 reply] : Some compilers don't support std::stoi for some reason, you can use th... (by gunnerfunner)
Pages: 1... 678910... 54
  Archived months: [dec2016]

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