Beginners (Page 98)

Having trouble with a card game assignment
Hey guys, I have an assignment due soon, and I cant figure out how to read my text files into struct...
[1 reply] : Basically there are two text files; one has all of the cards in the de... (by bedudkowski)
input multiple data types from file to array
Hi all, so I've been trying to put 3 different data types into 3 different arrays from an input file...
[10 replies] Last: Thanks man, you were a big help (by pandahamalia)
Need help with header files
Hello I am currently working on personal project and this is my first time using multiple .cpp/.h fi...
[3 replies] Last: Ok, let me guess. Now your charcreat function is defined as not return... (by MiiNiPaa)
by Sylnox
Initialize a std::unordered_map object in a constructor initialization list
As the title says, I'm having trouble figuring out how to initialize an unordered_map object in my c...
[8 replies] Last: Yeah, those both seem...suboptimal. Looks like braces are the way to ... (by Sylnox)
Simple ifstream function not reading full file?
Hi :) I am trying to make a program that reads inputs from different days, saves the dates and other...
[10 replies] Last: The learning curve is steep, but after a certain point things start ra... (by LB)
Right way to clear console screen
Hey I wonder how to clear a console screen for a frame update in tic tac toe or some kind of games ?...
[12 replies] Last: Thanks :') maybe I'll start to learn SFML (by LendraDwi)
by wolfv
error: incompatible types in assignment of 'A* const*' to 'A* const [0]'
I am trying to initialize an array of pointers. Line 18 below has a syntax error. How can it be fi...
[4 replies] Last: Sorry I misstated by intent. I want to initialize B::prtsA to point t... (by wolfv)
by Pg0715
variables and operators: calculating change and display results
hey everyone im stuck on trying to get the change for my program to work I got this all down but I k...
[8 replies] Last: ok I got it thank you I appreciate it (by Pg0715)
cross compiler
Hey there, can someone tell me the linux commands to compile a c file to avr and x86?
[1 reply] : Please do not post more than once: (by LB)
Help when checking for invalid inputs
This is an assignment for class. The problem and code are listed below. I've completed the assignme...
[1 reply] : You have some redundant checks (e.g. on line 30, it is guaranteed that... (by LB)
Priority Queue
I'm having trouble wrapping my head around this abstract data type business. I understand how to mak...
[5 replies] Last: Your class is not copyable and you accidently neglected the ampersand ... (by LB)
Converting Letters in Strings to Caps/Lowercase
Hi, I'm new to programming and currently reading for a degree in Computer Science. I'm trying t...
[1 reply] : #include <iostream> #include <cctype> using namespace std; int mai... (by shadowCODE)
using multiple files
i've been coding for a couple of years now. i mostly write projects for embedded microchip pic proce...
[8 replies] Last: If : file1.cpp compiles to file1.o file2.cpp compiles to file2.o file... (by ShodanHo)
Specific input
Im supposed to let the user cin a number that has to be a 4-digit number. how can i do so?
[11 replies] Last: if ( newpassword != password && newpassword < 1000 || newpassword > 9... (by shadowCODE)
Word list using strings
This is my homework assignment, I can probably program myself out of a paper bag. Any help would ...
[1 reply] : #include <iostream> #include <vector> using namespace std; int mai... (by shadowCODE)
Calendar question
ok so two problems the first isn't a big deal because I'm slowly working it out (it is under the // ...
[2 replies] Last: replace this code for line 27 to line 39 . That is, the segment... (by shadowCODE)
Simple integer conversion to binary, octal.
Hi, I manage to get the binary conversion right, but on the octal line, I get a 0. I can't seem to f...
[no replies]
Book Record Statement of work
1.0 Overview The Book Worm, a privately owned business dealing in a variety of books and periodical...
[5 replies] Last: If you have the tutorial open while you work on the assignment, you wi... (by LB)
[2 replies] Last: Your tables are 2x2, but you iterate 3x3 elements. Out of range error... (by keskiverto)
[1 reply] : Same comments as your other thread. (by AbstractionAnon)
Pages: 1... 96979899100... 121
  Archived months: [aug2014]

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