Beginners - October 2015 (Page 42)

problems with char.
 
The beginning of my code executes fine, but problems occur when I try to receive user input for paycode. When debugging it doesn't allow me to enter a value. An...
[1 reply] : Use the code tags please... http://www.cplusplus.com/articles/jEywvCM9... (by integralfx)
Deleting from middle of linked list
 
Hello, I am having trouble deleting from the middle of the linked lists depending on what number the user inputs. This is my Linked List class: class NodeTyp...
[4 replies] Last: Thank you CodeBlob for taking your time to give a small but useful qui... (by luiscovar)
Doubly linked list implementation
 
Im trying to write a double linked list with a head and tail node. The program takes in user input (only chars). Each char gets added as a node to the list. If ...
[1 reply] : Solved this. Anyone wondering, I had to change temp in line 60 of the ... (by stevecaboose)
I have a finished working program. Question on final part please
 
i want to loop back to beginning of program to have user choose new values if my if statement proves false. How do i loop back if the user hasn't chosen the rig...
[14 replies] Last: thanks JL sorry for getting back to you so late. This is exactly what ... (by Phil092)
by GFring
beginners constructor problem
 
I'm trying to do a. create a constructor that takes 3 integers i. in the order month, day, year ii. assigns the month, day, year parameters to the corre...
[4 replies] Last: I don't have enough to run your program but line 79 above is ringing a... (by closed account 48T7M4Gy)
by OMEHA
Problem with struct (scope not declared)
 
Hello, i am new in c++ and just started to learn structures and this is the code i have been working on -> (i want to make program in which user decide how man...
[3 replies] Last: #include <iostream> using namespace std; struct employee { cha... (by OMEHA)
STL Vector problems
 
I've been messing with some vectors (the STL ones). In some other project I couldn't pass the vector of object types memeory adress around? Anyways why doesn't ...
[2 replies] Last: I should go to bed... I'd agree that its pretty amazing that it even c... (by SamuelGr)
Why Extra getchar() Calls?
 
Why is it that the console window automatically closes if I don't have a getchar() call after the "cin >> num;" line? Shouldn't just one getchar() call before e...
[2 replies] Last: When you use the formatted extraction operator (>>) on a int, it leave... (by firedraco)
If statements
 
I don't really know whats wrong with my code. I'm trying to get an output of: 45 seconds = 45 seconds 100 seconds = 1 minutes, 40 seconds 3800 seconds = 1 ho...
[3 replies] Last: Your code only calculates the minutes if there are >0 days and hours, ... (by CoozyMcMillan)
If statements 2
 
Hey guys can you help me with my code? It's not working. How do I declare If for the scope? #include <iostream> #include <iomanip> using namespace s...
[1 reply] : if vs. If (by YFGHNG)
by alexBB
Declaration Scope
 
Hello there, I am facing a problem of converting a large gnu fortran program that I've written myself to C++. I'm using g++ compiler in Ubuntu 14.04. I immed...
[3 replies] Last: Thank you guys. - Alex (by alexBB)
MiniProject #2, Questions.
 
Greetings, im new to this site and still new to coding. Im having trouble with this project. b. A loop should be used to iterate once for each ticket. In each ...
[6 replies] Last: I haven't compiled your code but I do see some syntax errors it seems.... (by Outlaw782)
Help Needed: For loop with array?
 
Hi all, Going straigt to the point here: This is what my end goal / prompt I need to achieve. I have a project where it involves a set number of passengers. Wh...
[1 reply] : Line 23, 29: It's not permitted to recursively call main(). Line 46:... (by AbstractionAnon)
by Arquon
How do I solve this exercise in FOR loop ?
 
Hello, I got quite complicated exercise, its about days. Exercise : Day of the week when new month started : 4th. Interval of days in the month: 9-17. Result: 9...
[9 replies] Last: In my last post I was talking about the basketball champ. code, but ye... (by CodeBlob)
nullptr problem.
 
1. I am watching the dynamic memory part of the tutorial. one of examples in the chapter includes keyword nullptr, and it occurs error. here's my code : #incl...
[15 replies] Last: This sounds like memory leak to me - if the memory were not leaked th... (by dhayden)
by TPL
Help With a Project for School [Old School C++] [BRANCHING]
 
This is my first post on here, so let me start off by saying, I have only been doing this kind of stuff for a month, I am very new to coding and programming and...
[8 replies] Last: I just have trouble understanding the loops, and how to make them wor... (by AbstractionAnon)
Mutex and Condition variables
 
asd
[no replies]
EDSDK digital camera C++ problem
 
Write your question here. Hi everyone. I have problem compiling the following code. I compile this code both in empty and console visual studio application. I ...
[14 replies] Last: Erm, let's take a step back for a minute. This SDK will enable your pr... (by Computergeek01)
Help Needed: Clarification on Pointers as Parameters
 
Hello, I was reviewing some code and I came across syntax that I didn't understand. I was wondering if anyone could explain the following. I've included the ...
[5 replies] Last: FurryGuy and MiiNiPaa, Thank you both for the information. That clear... (by NoCompletion)
by Marth
Run a check within an array / check when all seats are reserved
 
This code creates array of rows and seats, in a grid. The user can reserve a seat which is then marked by an 'x'. I need to check when all seats are reserved...
[6 replies] Last: sorry if anyone read this before edit, i made a stupid mistake. (by Marth)
October 2015 Pages: 1... 4041424344... 57
  Archived months: [sep2015] [nov2015]

This is an archived page. To post a new message, go to the current page.