Beginners (Page 91)

Bubble sort
Hello. I'm trying to sort a 2D matrix of random letters from least to greatest. (A-Z) I'm making a 1...
[3 replies] Last: wow thank you so much!!! (by RocketGrunt)
by wolfv
Two libraries have same file name
It could happen that two independent libraries have two identical file names. The following example...
[7 replies] Last: OK, I see it now. Including both "lib1/C.h" and "lib2/C.h" made the c... (by wolfv)
How to work with data read in via loop using multiple functions
I am in the design stage of a program and must be missing the boat on something fundamental. I am ho...
[4 replies] Last: Thank you very much!! (by elliott22)
Classes example - simple
Hi, I'm very new to classes. Sorry if my technical explanation for what I'm trying to do is a bit o...
[7 replies] Last: I got it now - thank you for helping me out! (by project science)
Putting words from a string into its own individual strings
So for an assignment I need to some how get "num_lines" and "logfile.txt" into its own individual st...
[3 replies] Last: Ok, using string facilities: #include <iostream> #include <string> #i... (by MiiNiPaa)
Identifier is undefined
Hi guys, am doing my first programming assignment for uni and having trouble understanding why origi...
[1 reply] : Check the spelling of the variable on lines 25 and 26. I'd put functi... (by wildblue)
function returning values it isn't supposed to
so i have a program that first has a aplhabetType_ value.this can be 26,30 or 40. 26 is basic alpha...
[7 replies] Last: stdchr is part of the C library. true, but it lives in <cstring>, s... (by PCrumley48)
Text Based Game Help
In the main it asks you for your name, then within a class and a function within the class it uses t...
[2 replies] Last: Make name a member variable for storyline1. When you ask the name, th... (by AbstractionAnon)
Linker error, set up correctly
Hello, i've been having these linker errors: Error 5 error LNK1120: 2 unresolved externals C:\coll...
[2 replies] Last: Thank you abstractionAnon, facedesking right now (by Irishguy95)
so lost
I am extremelly new to C++ and I am lost. I have to write a code to take the taxes out of a base pay...
[8 replies] Last: Thank You (by Rbilbro)
Array of structs help.
Hi, I am working on a simple project that calculates resistance and voltage. I just don't understand...
[4 replies] Last: Thanks, I'll mess around with these two to see which one is better fit... (by C add add)
Trouble Overloading Operators: DayOfYear
My program has a constructor that takes number 1-365 and returns month and day of year, and another...
[no replies]
Input into Array
I am creating a program to create an array of integers, read in numbers inputted by the user until t...
[5 replies] Last: Oh it makes sense now! Thanks Jacob and Andy I will use the code tags... (by fortune500)
Help with Bubble Sort program
Hey all. I'm new to C++, and learning about arrays. I've built a program that takes 10 numbers input...
[15 replies] Last: in my system (3Ghz x64 core2duo) bubble sort: 16000 randoms in 1.279... (by anup30)
Sort and print highest int inputted
i am trying to write an array for a user to input 5 numbers between 0 and 10, store them, and then o...
[1 reply] : This is not a homework site. We won't do your homework for you. Howeve... (by AbstractionAnon)
by KickAz
Write 10positive numbers and check...but got error
Hello, I'm new here..I'm trying to write a program that will do the following: Write 10 numbers and...
[3 replies] Last: You could do something like this... cout<<"Enter the number of p... (by wildblue)
by prizko
Equation in C
Hey i am new new on this,i am in 9th grade in and i am trying to put a equation in c. Sorry for the ...
[1 reply] : pair =(n1 / 2 == y) pair =(2 * y == y) What are you trying t... (by AbstractionAnon)
by rrvv
Algorithm cost for recursive funtion
so I have some problem to determined algorithm cost of this program int rFibNum(int b, int b, ...
[4 replies] Last: Look at the pattern for each time you unravel the recurrence equatio... (by Duoas)
Best book for beginners
Hello everyone, I am trying to decide which book to learn C++ and would like some recommendations an...
[9 replies] Last: Just to clear up what I said about C++ Primer 4th and 5th editions, af... (by Mechennyy)
comparing strings
Hello cpp! I have 3 arrays, each contains 5 values with 3 different datatypes. Int, float and st...
[3 replies] Last: Hi /// your line 10 MyNewDataType temp = 0; If MyNewDataType is ... (by andy1992)
Pages: 1... 8990919293... 110
  Archived months: [oct2014]

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