Beginners - May 2013 (Page 50)

Searching and Sorting Arrays
 
Heyy guys. I'm kinda new to c++ and I'm totally stuck :/ Nothing happens after I enter the ticket nu...
[2 replies] Last: This is one of my homework problems on Myprogramminglab and it doesn't... (by Manisha95)
need help with this
 
it says Write a program to calculate the salary as per the following table here is the table ...
[5 replies] Last: Try this #include<iostream> using std::cout; using std::cin; using s... (by eyenrique)
Abstract class inheritance issue
 
I am (still) working on a bank account project for school in which I instantiate and use different c...
[4 replies] Last: I will try that in a couple of minutes. Makes sense as the compiler se... (by IdivideBy0)
by Keelan
Arrays and Structures
 
I'm having a lot of trouble with using arrays in structures. I can't seem to get the format right an...
[10 replies] Last: Last question, so I finally have my program complete. BUt theres a pro... (by Keelan)
read content from file
 
for example:(hassan javaid \t google chrome) i want to use getline function to ignore space bet...
[no replies]
by tpinon
Help! Deleting all contents!
 
I'm trying to create a function that will search for a specific record and delete it, but my functio...
[1 reply] : Don't you think accessing the file directly could be complicated? You ... (by Aceix)
Recursive function help!
 
Im stuck. Im having trouble making the linked list print all 'Z' if the elements in the list are cap...
[2 replies] Last: In what way are they different Myangryplatypus ? (by Smac89)
by tpinon
deleting all contents from a file
 
Is there simple code to just delete all contents from a binary file?
[2 replies] Last: great thanks! (by tpinon)
Is this formatted correctly?
 
Hey guys! I am still very new to C++ and am currently learning about converting decimal to binary, a...
[4 replies] Last: Ah very true. I had them as global before because instead of a default... (by TheSuperPhreak)
Get list element
 
Wirte a function that find the n biggest element from the list .Put these elements in an array in de...
[7 replies] Last: This is not a homework service. (by AbstractionAnon)
How can i count the number of words in a string?
 
I have to make it so it will say this phrase has 2 words or this phrase has 7 words. I'm guessing I ...
[6 replies] Last: You should read the description of the function before to use it. (by vlad from moscow)
opening number text file
 
how do i save a text file into an int array? the code i'm trying is as follows. #include <iostrea...
[3 replies] Last: In most cases (when you are using ASCII) you can just do //c is char ... (by MiiNiPaa)
Why isnt the toupper working?
 
I need it so even if you enter a capital Y instead of a lowercase y it just makes it all uppercase. ...
[1 reply] : response = toupper(response); (by vlad from moscow)
Need help with passing variables to functions!
 
Ok so I'm taking a C++ class right now and we are working with functions. I really don't understand ...
[1 reply] : Compare what you do with the example here: http://cplusplus.com/doc/tu... (by keskiverto)
Read data from text file
 
The task is to read data from file. sms.txt structure: first line: hour minute phonenumber second li...
[6 replies] Last: Oh, I see what you did there... You deserve a trophy, sir, thanks! (by Messzir)
by MandyG
Drawing at specific coordinates in a loop
 
I am trying to write a program which simply reads through a multidimensional array (using 'for' lo...
[1 reply] : You need to use your i and j counters as variables in the location for... (by pogrady)
Class call fail
 
I'm getting so pissed on this right now. I can't call the "Login" class from the "TitleScreen" class...
[1 reply] : You need to declare the Login object before the titlescreen object. as... (by pogrady)
Error with classes
 
I have been coding C++ for a few days now, I know the basics + a little more. But today, while co...
[4 replies] Last: Put the lines 42-69 (the declaration of Addition, Subtraction etc.) be... (by Fransje)
Why wont it let me enter a second phrase?
 
It lets me enter the first phrase in fine but then it skips the second one and goes straight to the ...
[2 replies] Last: alright thanks that makes sense now. (by SlenderMan)
Can a Function return different types depending on conditions?
 
I want to write a function that that performs a calculation if the parameters passed to it are in a ...
[4 replies] Last: You can only do that in a full OOP language where every data type is d... (by IceThatJaw)
May 2013 Pages: 1... 4849505152... 66
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.