[try Beta version]
Not logged in

Beginners - October 2018 (Page 25)

problem with memset
hi guys, I seem to be having a problem in SDL,yes I am still playing around with it I'm bored lol...
Oct 5, 2018 at 12:50am
[5 replies] Last: @adam, it's most likely that 0 is black and 255 is white. That's how i... (by tpb)
Need help but not understanding
So my program and everything works. I just need to be able to allow the user to rerun the program wi...
Oct 4, 2018 at 11:09pm
[18 replies] Last: In a nutshell, it resets the std::cin stream to make it usable again. ... (by Ganado)
quick question
so i dont understand this part . is the program asking to have premade bank account holders or when ...
Oct 4, 2018 at 9:45pm
[2 replies] Last: thank you for clearing it for me (by poohbear)
C++ Functions
I need help in this question Write a function prototype for a function that prompts the user to ...
Oct 4, 2018 at 8:46pm
[2 replies] Last: Actually don't forget the required parameter: int my_function(std::st... (by jlb)
Ignoring whitespace with getline() and assigning variables
Okay, I'm thoroughly confused. My professor assigned a homework assignment which requires me to read...
Oct 4, 2018 at 6:14pm
[9 replies] Last: Ah okay, thanks @tpb for the explanation. That's a good point @yoland... (by PiggiesGoSqueal)
Pointer to an array
I just need help on how to create a pointer to a list of students and make it a private member of th...
Oct 4, 2018 at 5:28pm
[5 replies] Last: the 10 cent basic version is this: class list { data somedata; ... (by jonnin)
Unable to figure out why assignment not working
Write your question here. #include <iostream> using namespace std; int main() { string...
Oct 4, 2018 at 3:04pm
[3 replies] Last: @keskiverto Thanks, the problem is addressed by removing semicolon. @A... (by bagrarajeev)
explain fragment of code
Im having trouble understanding this code, i see why the first printf outputs 28 seeing as there ar...
Oct 4, 2018 at 2:21pm
[2 replies] Last: C strings have a hidden zero character that indicates end of string. ... (by jonnin)
C++ nested for loop in the <map>
How to write the nested for loop to find the repeated value (Duplicate value) in the <map>? In he...
Oct 4, 2018 at 2:16pm
[6 replies] Last: to find out if i have a repeated #frequency as value in my map... If... (by keskiverto)
Strange program behaviour
Hey guys I am messing around with SDL I am just getting used to some very simple animation with 2d g...
Oct 4, 2018 at 12:02pm
[14 replies] Last: thanks guys (by adam2016)
static lib file problems with codeblocks
Hi guys so as a lot of you may know I have been programming on and off in C++ for two years,and t...
Oct 4, 2018 at 12:00pm
[4 replies] Last: thanks jlb,that would make sense :) (by adam2016)
Help
Why cant i use this symbol *=(multiplication and equal sign) //2. Stadium Seating There are thr...
Oct 4, 2018 at 9:41am
[2 replies] Last: Why cant i use this symbol *=(multiplication and equal sign) double... (by MikeyBoy)
checkpin
can someone help with checkpin function please. the pin needs to be true with what you entered. and ...
Oct 4, 2018 at 6:52am
[1 reply] : // receives a PIN number as parameter, returns TRUE if it matches th... (by closed account SECMoG1T)
C++ <Map> find the repeated value!
I have below program in C++. All input passing by command line argument. In here the key is string a...
Oct 4, 2018 at 6:43am
[8 replies] Last: Another question that i have here is the Key is word and should be in ... (by jownoller)
Need help with search functions.
My program needs two functions. One to get user input for a student name and search for it in a stri...
Oct 4, 2018 at 3:21am
[1 reply] : #include <iostream> #include <string> const int NUM_STUDENT = 10; co... (by JLBorges)
Good places to self teach C++
I'm looking to teach myself C++, and I'm looking for some free online resources to help me on my way...
Oct 4, 2018 at 12:29am
[8 replies] Last: http://www.learncpp.com ^I can't recommend this site enough. (by zapshe)
definition of a container.
just looking for ideas. define a container such that: -each element in it is an std::pair<T1,T2...
Oct 4, 2018 at 12:00am
[5 replies] Last: guys boost::bimap should be part of std:: ,killed all the birds with o... (by closed account SECMoG1T)
creating a class
Hello, I'm wanting to move portions of my code into separate files. This is what I'm trying to move...
Oct 3, 2018 at 10:32pm
[1 reply] : int main() { // assigns name "file" as an fstream fstream file; ... (by ddaniel10)
Procedure Entry Point not found? (1,2)
Greetings, I tried to compile and run a new small program via windows cmd (I usually use an IDE s...
Oct 3, 2018 at 9:51pm
[28 replies] Last: "gcc (i686-posix-sjlj-rev0, Built by MinGW-W64 project) 7.1.0" I am u... (by PhysicsIsFun)
Concerns with function implementation for c++ project
I'm currently putting together a birthday calculator project in school and am having a hard time get...
Oct 3, 2018 at 8:15pm
[1 reply] : Your function isValidDate doesn't have a closing } so the next fu... (by Repeater)
October 2018 Pages: 1... 232425262728
  Archived months: [sep2018] [nov2018]

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