Beginners - May 2014 (Page 45)

how to print infinite multiples of 2
 
Hi Team, I wrote a code to print multiples of 2 under 100. How can I implement printing infinite multiples other than less than 100? Please help with few sug...
[7 replies] Last: Whoops! Yes, yes I did. Hope that fixes it. @ helios Hmm, that coul... (by Duthomhas)
convert lowercase to uppercase string
 
i need to convert a line of text to all uppercase, but i am stuck, when i type in the line of text, it outputs only one word from that whole line. ex: Hello W...
[3 replies] Last: ok it works, thank you guys a lot! (by JulyZerg)
by venros
C++ Binary Search Tree - Ballance Check Function
 
Hi Guys, I cant manage to combine these 2 functions into 1, It checks the left and the right trees to see if the smaller key is on the left and the bigger ke...
[1 reply] : Really no one? :( (by venros)
by Puggly
fstream Help please.
 
I am making a program to manage a text file. I have completed the program to add text, append and then read the text file, however when it comes to the inputs, ...
[8 replies] Last: Do you have other inputs from cin that precede this code? It's possi... (by AbstractionAnon)
Please Help - Delphi Procedure
 
Hello, I have created my own method which receives values from 2 spin edits but for some reason program is not compiling, when I am unable to call my procedu...
[1 reply] : This is a C++ forum. (by helios)
by chofs
majic square
 
hey guys am i seriously need help....am doing a majic square problem........i cant seem to get the correct ansa am getting the mequation even if its nt a maj...
[no replies]
by allekj
Want user to be able to have option to rerun program before exiting
 
After I run through the program one time I want to be able to ask the user if they want to rerun the program again. Not quite sure how to make it happen. What I...
[3 replies] Last: @wildblue - Good catch. (by AbstractionAnon)
by Mido14
Checking Orthogonal dynamic 2D Matrices
 
The program is working with squares matrices otherwise an alert appeared "The program has stopped working".Can you identify where is the error and how to modify...
[1 reply] : You are deleting transposeMatrix1 , which at the time (line 137) is ... (by JockX)
sudoku solver cell object orientated
 
Hey im new to object orientated classes and im using a 2d one with a flag of true and false as well as a candidate list for a vector, but i do not know how i ca...
[5 replies] Last: Great. Look at this old topic http://www.cplusplus.com/forum/beginner/... (by JockX)
Timing a program
 
Is there a way to implement a clock into a program so that it outputs how long it took to execute the program? Like lets so I have a guess my number game. An...
[2 replies] Last: Thank you (by football52)
Recursive string reverse
 
Hey guys. I'm trying to write a string reversal recursively but I have to use only a string and and int as the function parameters. The protoype is strRev(strin...
[2 replies] Last: It also helps to remember a string is a list of characters. To help ... (by Duthomhas)
clock
 
Hi guys, I took this piece of code from the reference and made some adjustments trying to find out the time needed to process a single calculus on my machine...
[2 replies] Last: Thanks (by closed account 2AoiNwbp)
Move constructors and move assignments
 
Hello! I have just read our tutorials (http://www.cplusplus.com/doc/tutorial/classes2/#copy_assignment) about these move constructors and the move assignments....
[2 replies] Last: I didn't understand exactly what this rvalue reference (ex: myClass&&... (by Cubbi)
reverse order
 
I have hard time understand this question. English is not my lang. Write a recursive function to display decimal digits of an arbitrary integer in reverse...
[2 replies] Last: The instruction is to display the integer in reverse order -- not to... (by Duthomhas)
by Arcie
Problem with function and vector syntax
 
Alright, so I thought I had everything right... my problem is, the function words() doesn't pass the strings adj and noun to the fake() function... I can't figu...
[2 replies] Last: So line 8 should read: string words(string& adj, string& noun) T... (by Arcie)
by Light1
Output problem...
 
Hi When I input 3 to m and 2 to n it gives me this output: 3 2 5 I think it should be : 3 2 3 Why doesn't it show the second output? How can i fix it f...
[3 replies] Last: square is an 2D array of ints, and to create a array at compile time ... (by Codermik)
Half done, but seems complete to me
 
My Professor said i'm only half done, what does she mean because she isn't making sense. /**************************************************************...
[2 replies] Last: // Function 2: Pass the radius to the circumference function and ret... (by JockX)
Urgent Debugging Assistance
 
I am in dire need of assistance with a bug in my programme. this one bug is the only thing stopping me from handing in my assignment. My programme is a basic rp...
[2 replies] Last: My god of course!! feel like such an idiot. tired eyes make for hard d... (by luckylarv)
How to convert int to char
 
I'm going to convert int to char like: 2 -> '2' not 68 -> 'D' but I don't know what to do. Any idea? Thanks.
[4 replies] Last: I think OP means that the program should only convert individual digit... (by Smac89)
by Ram1
I need help with this question please if someone is willing to help
 
Using class template to solve following so called “In Language” Problem: A string is considered to be “In Language” if it is “symmetric to a $ sign...
[2 replies] Last: I just don't understand it all (by Ram1)
May 2014 Pages: 1... 4344454647... 55
  Archived months: [apr2014] [jun2014]

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