Beginners (Page 7)

Why is my code not working??? I tried everything.... Please help
Why is my code not working??? I tried everything.... //This program calculates the inflation r...
[14 replies] Last: Do you know the operators < <= || && ? (by keskiverto)
Code either won't compile, or doesn't work
Hi. I'm trying to do some exercises from a book, and can do most of them okay. However, with this on...
[3 replies] Last: The problem is implicit conversion. For example '*' can be implicitly ... (by coder777)
by JM567
Read input file from certain line
Hello! I am studying for an exam in my programming I class, and I'm having some trouble with one of ...
[2 replies] Last: To make things easier, you might write a function to drop the first n... (by JM567)
Inheritance help
This isnt all the code but I'm getting errors when I try to call the setX and setY values into getPe...
[1 reply] : Hi, The variables setX and SetY are local to the functions, aren'... (by TheIdeasMan)
loosing the first element of an array
I call this function to assign a MyString object to another but I end up losing the first value some...
[1 reply] : SOLVED: line 8, temp[j - i] should be just temp (by ToeMater)
Convert string into array of char, CSV file
Ok so I'm reading from a CSV file and I have been reading the data with the getline function, I've c...
[3 replies] Last: heh, that is quite the mashup of what I said. -- c++ does not al... (by jonnin)
Loop through an array and sort the array?
I need to loop through this array given a data file and fill it, but while doing so make sure it is ...
[4 replies] Last: jlmccart01, you need to write a sorting algorithm. This will give you ... (by tibrado)
by JM567
Read in file as string and store into struct variables
Hello, I am in a basic programming class, and we have a lab that I am pretty stuck on. The instructi...
[19 replies] Last: @lastchance, looks perfect now -> 100% (by Thomas1965)
Strange vector behaviour
I don't understand why I see lines marked with arrows in console. I added c1 and c2 to vector with s...
[2 replies] Last: > But when I was adding c3 and c4, I got extra copy constructor callin... (by JLBorges)
by RahRah
Stop program at a certain temperature
I should write a program that asks for temperature and say that a temperature of 42 will stop the pr...
[9 replies] Last: > what i dont understand is do i do this in main or in the function A... (by JLBorges)
by DellXT
Realize a universal Turing machine that could perform a program from the .txt file
Realize a universal Turing machine that could perform a program from the .txt file. File format: 1s...
[3 replies] Last: @hoogo, read this, every single programmer in the universe should kno... (by hoogo)
From a For Loop to a While Loop
Hello. Beginner here on MATLAB. How do I change this for loop I made into a while loop and get the ...
[2 replies] Last: Oh, ok. Sorry about that. Thanks! (by ITOYEN2049)
Differentiating even and odd integers
I've been trying to expand my grasp on c++ lately, and today I decided I was going to see if I could...
[3 replies] Last: missing ; on line 18. any compiler including the one built into the fo... (by jonnin)
larger numbers wont print out correctly
So i have a problem where large numbers wont print out correctly. I tried debugging and the number i...
[4 replies] Last: I think i fixed it! thanks for the help! (by chang123)
by Yertuu
Windows Script in C++ Issue
Very quick question. Tried asking google but haven't come across anything that has help. I'm writing...
[13 replies] Last: you can write the batch file from your program, which ensures securit... (by BoldAsLove)
Non recursive merge sort for linked list
I thought about two concepts which come from sorting files because both linked lists and files...
[9 replies] Last: Ive done the reverse (build the 'list' from a vector where 'pointers' ... (by jonnin)
by flagex
Problems with pointer arithmetic
Hi guys! I've recently began studying pointers, but I've hit a big roadblock. To my understanding, o...
[3 replies] Last: honestly, I wouldn't use it, which may be why you have not heard of it... (by jonnin)
by Yertuu
Video Alarm Clock Issues
So, I'm writing a little program to select a random video file located anywhere on my C:\ and play t...
[2 replies] Last: @Thomas1965 The problem is nothing to do with the .bat or the .exe. ... (by Yertuu)
by Fortem
HI guys! I need a lil help. Im new at C++ Programming and Im stuck at creating a simple program that...
[4 replies] Last: #include <iostream> #include <string> int main() { // std::strin... (by JLBorges)
by Manga
help with ugly code
This function treats two strings like they are ints and adds them. But the code looks long and has t...
[10 replies] Last: Yes! That did it repeater. Thanks!! (by Manga)
Pages: 1... 56789... 27
  Archived months: [jul2018]

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