Beginners (Page 92)

Reading data from .txt to a struct vector
 
Hello, first post here, but frequenter of the forum... I need to open a file that has 3 pieces of...
[7 replies] Last: Protip: Put indented raw text (such as your assignments) in [ output]... (by Crazyglue)
by iluv41
control may reach end of non void function
 
I am getting the error control may reach end of non void function, but i cannot figure out why. This...
[2 replies] Last: i still get that error after removing both else ifs. I dont understa... (by iluv41)
I/O question
 
Ok simple question I hope. I read your tutorial on I/O streams and just had a couple questions betwe...
[4 replies] Last: I guess what I am cunfused on is how they both return false. do they j... (by smokebaca)
not printing out a few statements for the output
 
i want the output be like: 5 total 3 invalid 2 valid at the end but it doesnt print the inva...
[11 replies] Last: By the way if (x < 0 || x > 300) { cout << "The group is ... (by giblit)
circular shift
 
I'm trying to write a function that will shift letters in a string a given number of spaces to the l...
[1 reply] : offset = x % stringSize Then if you are shifting left you would take ... (by giblit)
trying to shuffle a string
 
I'm trying to write a program that will randomly shuffle a string input by the user. At the moment i...
[13 replies] Last: Thank you. I got'er working. (by dunnDolphin)
have no idea what to make the class return if a test fails
 
i have two ciphers written,both of which require a key. now there is a catch here the key,and the nu...
[6 replies] Last: alright i get it now. thank you for your help (by DAoliHVAR)
Handling Large Data File
 
I am working on a project in which I have to sort and handle statics about football players. I'm not...
[1 reply] : See tutorial about classes and structs (by Silvestar)
reverse a string in an array
 
I have to write a program that takes a user input and prints it out backwards. i need to use an arra...
[7 replies] Last: http://www.learncpp.com/cpp-tutorial/42-global-variables/ (by mobotus)
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: I'm pretty sure that bubble sort checks j-th and j+1-th member of an a... (by Silvestar)
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)
Pages: 1... 9091929394... 112
  Archived months: [oct2014]

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