Beginners (Page 50)

Debug check with cout, storage class type specifier
Is there a way I can do this and get around the "no storage class or type specifier" error? #i...
[1 reply] : You cannot place statements like that in the global scope; when would ... (by Zhuge)
Asking for number and output a character
How would I go about asking the user for a number and outputting a * corresponding to that number. F...
[2 replies] Last: it couldn't be easier than that. (by shadowCODE)
by leo255
Decimal to Hex Conversion - Not getting correct output
Hi all, Just trying to do a standard dec to hex conversion. I'm getting the output 6C6CC when the...
[3 replies] Last: One last quick question...If I change this to a void function, and the... (by leo255)
CalculatorTest & Calculator Project Dependency
Hello, I´m trying to get more familiar with cppunit, so i made an example Project for an Calcul...
[no replies]
Program could capture the data from a USB port
I need to design a program, which could record the data from an USB port. Could anyone give me some ...
[no replies]
Need Help with First Homework Assignment
Hello, I need some help, I'm using DEV C++ and trying to complete making my first program as my h...
[4 replies] Last: You're heading in the direction of arrays, since typing firstnum, seco... (by booradley60)
by Crogn
binary search
Iv been trying to write code for a binary search program but the below code keeps outputting 4 for r...
[1 reply] : You used assignment in line 27 instead of equal to . if(... (by shadowCODE)
by Ch1156
Ok so i've been practising on polymorhism and inheritance and I think I pretty much understand it al...
[no replies]
Do-while loop help. I need this real soon.
I need help on cout<< 4. I dont understand on how to make the computer choose the minimun of the thr...
[4 replies] Last: you need to to change line 37 to just else and you need this else if ... (by cory244)
User input string to text file
Hey guys. I'm trying to make a program that reads a string that is entered by a user, and outputs t...
[no replies]
logic question.
Simple question that i am not understanding fully I understand that int stores integers as whole num...
[3 replies] Last: There are a few more considerations to take into account: http://en.cp... (by Computergeek01)
storing matrix in a string
I want to store a matrix of order N*N in a single string and than print the print the string which w...
[no replies]
'Counter" in craps program
Hello. I have written a code to run a game of craps...i cant figure out how to run it 100,000 times ...
[2 replies] Last: I would put most of that code into its own function: Status PlayCrap... (by Stewbond)
Use case diagram and Class Diagram
Hi guys, I am trying to construct a Use Case Diagram. I have 3 actors and 4 Use cases: Three Acto...
[no replies]
How to find determinant of a matrix
How to find determinant of a matrix of order more than 2*2 , i found the code using recursive method...
[2 replies] Last: i is never incremented in the det(int , int) function, but it is use... (by Sharan123)
by wolfv
Which is the better programming style?
I am looking for some opinions on programming style. The following two example programs both run as...
[3 replies] Last: Thank you coder777 and JLBorges. The number of samples is a constant k... (by wolfv)
by CDavis
Text Parser problem
I have a code that I have to rewrite or rework and not really sure where to start I know I have to ...
[5 replies] Last: Wow I like that solution but other than text parser isn't there an eas... (by CDavis)
How to read int from file into size of the array?
I'm trying to read an integer from a file, and use it in an array. here's part of my code: st...
[3 replies] Last: I got some help, and found out that somehow I deleted the text file. I... (by wulffman)
by Miele
Input/output for array
Hey, So I've started learning C++ and I'm doing beginner excercises by Blitz Coder. One of them is...
[8 replies] Last: aye :) (by mutexe)
File input/output
Alright this is just a book exercise for my class and I can't figure out if I did this right or what...
[19 replies] Last: There are two ways of opening the files when dealing with C++ streams ... (by jlb)
Pages: 1... 4849505152... 100
  Archived months: [aug2014]

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