[try Beta version]
Not logged in

Beginners - September 2014

Need help with a random number generator function.
I need to come up with a program that will randomly generate a number within the range of a user-inp...
Sep 30, 2014 at 11:55pm
[8 replies] Last: This is how I do it, and it works well: int randInt(int a, int b) {... (by Toby12600)
Why are type aliases useful?
From what I understand, using the keyword typedef is basically giving a valid type a different name....
Sep 30, 2014 at 10:34pm
[3 replies] Last: 1) typedef are important for updating a software program for example ... (by novellof)
variables question
I am working on a project that is a calculator. I have the project done, but am trying to tweak the...
Sep 30, 2014 at 10:25pm
[4 replies] Last: Use operator bool instead of good() member function. .good() sho... (by MiiNiPaa)
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...
Sep 30, 2014 at 10:02pm
[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...
Sep 30, 2014 at 9:46pm
[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...
Sep 30, 2014 at 9:46pm
[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...
Sep 30, 2014 at 9:12pm
[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 ...
Sep 30, 2014 at 8:14pm
[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...
Sep 30, 2014 at 8:08pm
[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...
Sep 30, 2014 at 6:34pm
[1 reply] : You used assignment in line 27 instead of equal to . if(... (by shadowCODE)
by Ch1156
Virtual
Ok so i've been practising on polymorhism and inheritance and I think I pretty much understand it al...
Sep 30, 2014 at 6:06pm
[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...
Sep 30, 2014 at 5:31pm
[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...
Sep 30, 2014 at 5:01pm
[no replies]
logic question.
Simple question that i am not understanding fully I understand that int stores integers as whole num...
Sep 30, 2014 at 4:57pm
[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...
Sep 30, 2014 at 4:42pm
[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 ...
Sep 30, 2014 at 4:31pm
[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...
Sep 30, 2014 at 4:06pm
[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...
Sep 30, 2014 at 2:33pm
[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...
Sep 30, 2014 at 1:06pm
[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 ...
Sep 30, 2014 at 1:02pm
[5 replies] Last: Wow I like that solution but other than text parser isn't there an eas... (by CDavis)
September 2014 Pages: 123... 51
  Archived months: [aug2014] [oct2014]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.