Beginners (Page 7)

i need help with user input text file using pointer.
Hello everybody, 1. in case adding : I have a vector and a pointer that store data from input user ...
[2 replies] Last: keskiverto, my bad , i make a wrong coding by using pointer in this ca... (by Superman99)
Help!!! It keeps saying input file did not open in my program output!
Here is the program... I need the output to decode a message but it keeps saying input file did not ...
[6 replies] Last: I know what I need to change!! Okay I need to get special out after ... (by tlowe285)
Help with a beginner prog! :/
So I needed help with figuring out what Im missing in my program because it isn't running properly. ...
[4 replies] Last: else if (income > 15000) There is no need for this line, else alon... (by N1nJa)
Two set of codes in one program
I don't know how to put this style into words. I put two set of { } and the output is the exact as w...
[no replies]
by N1nJa
Absolute beginner, how to implement graphics/user input.
Hi all, I have been learning c++ from Michael Dawsons C++ Through Game Programming book, I'm abo...
[no replies]
by Bunjo
Problem entering numbers into an array
I am trying to make a program that asks for the size of an array, prompts the user to enter numbers ...
[5 replies] Last: Thank you! I used vectors and it works now. (by Bunjo)
Why does this function allocating memory in a function not work correctly?
This code does not give me the expected data in mystr, I get "Unhandled exception at 0x012D2CE3 in P...
[2 replies] Last: "Correct"? Debatable. Here is one: #include <iostream> #include <stri... (by keskiverto)
by Zorai
Help with this C++ exercise please?
Hello, I am working on some C++ exercises. I'm a beginner and having a lot of trouble moving forw...
[7 replies] Last: how much money they’ve won/lost If you do have $50 at start and en... (by keskiverto)
Adventure Game With Classes and Arrays
For my class project, I'm writing a choose-you-own-adventure game. It uses two classes (so I can sho...
[no replies]
Names - Reverse order - pointers
Hello : ) I have a problem with my C++ program. I don't know how to print first and the last name in...
[2 replies] Last: Thank you very much for your help skaa ! I know how it works now. (by piotr9567)
Having trouble using range-based for loop in my code, won't compile?
I've been trying to use a range-based for loop in my code but my compiler tells me range based for l...
[6 replies] Last: Never mind, I finally found a solution, downloaded a new compiler wit... (by Nelson108)
Bubble sort optimization - or not ?
Hi there. I'm trying to understand possible optimization methods for the bubble sort algorithm. I kn...
[3 replies] Last: I did the test with 10 times more numbers and get now 19(no optim.), 1... (by Guzfraba)
Dungeon crawl
Having a lot of trouble with this problem don't even know where to start any help would be appreciat...
[7 replies] Last: you would have to check every location maze and check the value. ... (by SamuelAdams)
How do I change the color of texts?
Hello! How do I change the color of the numbers that user enters? for example how do I make 16, 5 a...
[13 replies] Last: I agree, a lot of bad code is written every day. But if he stays in p... (by SamuelAdams)
by mmgh
linking problem with xml2
Hello, I have a complicated cmake file and I want to compile my program with xml2 library. Th...
[2 replies] Last: It does not add xml2 library into build.cmake while other libraries ar... (by mmgh)
Reading in Data from a file, printing it then calculating the sum/ave/sc
Hi, I am vvv new to C++ and doing a course on it. The first assignment i have is to reading in and p...
[1 reply] : These and others may need to be outside your loop. double total = ... (by SamuelAdams)
by rantiv
HotPlate simulation
Part 2 - Update Elements Once (25 points) The job of the algorithm is to find the steady-state te...
[1 reply] : I do not see any question. You cannot update array right after comp... (by keskiverto)
Map not properly identifing elements
The purpose of this thing is to allow the user to type in a name of an element and the program will ...
[8 replies] Last: in general, is there a ball-park file size number beyond which would ... (by jlb)
Switch Class names
I am very new to programming and I need to have a way to switch between two different class names de...
[4 replies] Last: A masochist would: void currF() { Tempature which; float inte... (by keskiverto)
Pages: 1... 56789... 75
  Archived months: [aug2016]

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