Beginners (Page 83)

Can't store Object into array correctly
I create a new object that holds an int: Item newItem(1); I can print out newItem's data: cout <<...
[1 reply] : arrays are indexed from array[ 0 ] to array[ array.size() - 1 ] Se... (by Lachlan Easton)
linear search algorithm
this isnt the entire program, just part the part im having trouble with , in which i try to search f...
[9 replies] Last: haha wow i did not type that well, i meant search for the values from ... (by LATCH100)
Poniter On String
the output will be 'D3 Teknik Informatika' how to make the output will be 'Laboratorium Teknik Infor...
[2 replies] Last: [code firstline=5] const char *Address= "Laboratorium D3 Teknik I... (by MiiNiPaa)
How can i check if the user didn't input anything and just hit enter?
Is there a way to make cin NOT wait for an input? int main () { int choice; cout << "Th...
[8 replies] Last: #include <iostream> int main() { const char newline = '\n' ; ... (by JLBorges)
how to get float type array size
When I try to get the size of float type array, my complier keep sending me: sizeof on array functi...
[5 replies] Last: What does numPoints stands for? Isn't it number of points/length of ... (by MiiNiPaa)
Help with arrays as parameters
[2 replies] Last: Perhaps I'm missing something, but you have an array of points in the ... (by norm b)
Stack/Push/Pop help!
I have an assignment where I have to take a sentence and show the revere of it using a user defined ...
[7 replies] Last: I have figured it out, I used a while loop where the condition was whi... (by alex067)
Need Help With Square Root Function
I have been hacking at this for days and the issue is our professor is not letting use cmath. So ...
[3 replies] Last: so upon further inspection the formula seems to just be returning a va... (by techwonder)
by Masada
Big O Notation
I'm just working through some exercises trying to understand Big O Notation and would like to know i...
[3 replies] Last: your code still is not properly indented. > But I'm not sure, that is... (by ne555)
Reading char from File to Array
Hello, I'm trying to read a series of char letters (one per line) from a file and into an array. ...
[5 replies] Last: So, I had it checked out by one of our TA's. It turns out that somethi... (by RandomPersonWorking)
by JK5751
Unrecognized Error
I'm not sure I understand this error message for line 38 of my code. #include <iostream> ...
[1 reply] : On line 38, you wrote cout instead of count - in other words, you ... (by LB)
ICAO Array
[3 replies] Last: solved (by stoneybologna)
Class object help!
I have an assignment where I have to create a template class, create 2 objects one which takes 10 in...
[5 replies] Last: Once again, thank you very much Shadow. I have to revise the section ... (by alex067)
Cannot get this for-loop to output to console.
Hello guys. I'm working my way through C++, and I'm trying out a very basic program where the consol...
[2 replies] Last: Oh wow. Thank you. I actually already knew that about For Loops. (I co... (by Ravorne)
Help with loading a struct with data from a file...
Hello, forum goers. I'm currently trying to learn how to load up a struct array with data from a fil...
[2 replies] Last: Okay, so, declaring the struct array like that was a pretty bad idea t... (by thawing)
what is a API in c++
I have been asked to design an API that allows the user to do this and do that in c++.. What exactly...
[1 reply] : In c++ is an API a .header file? YES so is the public function in ... (by shadowCODE)
return first non zero value in array, replace with zero
Hey if I have an array is there any way to get a function to return the first non zero element then ...
[6 replies] Last: got it thanks again (by MrBond90)
by Akigou
Alphabetical search / strncmp
My program is supposed to look through a library database by Author's last name, but what I have gi...
[1 reply] : Please explain lines 5 and 9. (by keskiverto)
help with arrays and functions program
I'm writing this program for a class, Im suppose to be passing arrays through functions. I've been s...
[no replies]
Worked only in console application, want to move on.
Hey guys, I'm relatively new to programming, would like to make a career out of it one day hopefully...
[no replies]
Pages: 1... 8182838485... 90
  Archived months: [nov2014]

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