Beginners - November 2015 (Page 33)

Experiencing errors when calling functions.
 
Hi, my compiler keeps giving me the following errors when i call my functions in main() "use of undeclared identifier"(error1) "Expected"(" for function-style...
[5 replies] Last: Thank you for the link. (by franicsian)
by Needy
Console opens and then immediately closes
 
Hey, I am trying to get this code to run, but it keeps closing immediately. What can I change for it to run? Thanks! #include <iostream> #include <strin...
[1 reply] : Check out the top post 'Console Closing Down' in this forum. And one ... (by liuyang)
Having Trouble getting the max out of the file
 
Write your question here. // // Created by Ren Cummings on 11/11/15. /*Write a C++ program to determine the winner of the “Sinclair’s Got Talent”...
[no replies]
Help with CreateProcess
 
I am trying to write a program that takes user input for what executable to run and any arguments, passes it to my function that contains CreateProcess and exec...
[4 replies] Last: For a), you could use CreateProcessA, so just like ShellExecuteA, you ... (by liuyang)
finding pi with machin.
 
Hi, I am a beginner in c++ with basic knowledge in coding and started with python. My college hasn't started yet and i've just been doing projects on my own. I'...
[9 replies] Last: @ cire I agree with what you are saying. @ flaemtail There maybe ... (by TheIdeasMan)
Delete element in array and shift array to the left
 
Please help me. I've spent a few hours trying to figure this out but I'm still very new at arrays and have had a hard time finding a tutorial on this specific t...
[3 replies] Last: What's "int index=0;" for? You know that it is not doing anything? (by Kevin C)
by Marth
Checking for a Char in Char Array;
 
My brain has shut off, I know how to do this, i just cant seem to put it together. char seat; letter = 'A'; char alphabet ; int seats_amt = 5; //this...
[1 reply] : There are many ways to solve this. Functions would be the best. Do you... (by Kevin C)
String question
 
I am currently writing a test grading program. It inputs a file, and uses get line to read each line. Each line includes the name of the student, and then their...
[2 replies] Last: For this program I am limited to cstring functions strlen, strcat, str... (by tomtom61695)
Help with Templates
 
Hello Can somebody fix my code? its not working and i dont know why #include <iostream> using namespace std; template <class T> class Complex { p...
[4 replies] Last: Make sure you pass the right number of template arguments. (by Peter87)
Why segmentation error?
 
Write your question here. I at the moment trying create a graph based from elements in a 2d char array.. But things aren't working as smoothly as i hoped. ...
[2 replies] Last: Here is an article about segmentation fault, maybe it helps. http://w... (by Thomas1965)
Display 4 numbers per line?
 
My assignment was to print out all the four-digit base-2 numbers the first digit being 0000 and the last being 1111. So I got the code all figured out, I got al...
[no replies]
Float vs Double if condition
 
I have a trivial question. It`s been on my table for 2 days now. I couldn`t solve it. I have three logical comparisons that is giving me weird results. I have a...
[3 replies] Last: leryss and JLBorges, Thank you so much for your quick reply. I suspect... (by Tribe102)
Arrays
 
I need help with the deleteArray function. How can I remove the "5" and shift the values left of the five to the right. It should look like: 0 1 2 3 4 6 ...
[3 replies] Last: You are decrementing originlen. Change it to originlen -1 ... (by Cody0023)
Puzzle issues
 
I am having an issue with this program. It is running, and seems to be working correctly, however it runs until it uses up all of my memory then crashes. I have...
[3 replies] Last: Lol, nevermind. I solved it, guess it took me posting it here to solve... (by elite zero)
From "pair" to "tuple" (map/vector/struct)
 
Hi! I'm opening a new thread/topic because the original topic was different. I had this problem: http://www.cplusplus.com/forum/beginner/176935/#msg873659 .....
[2 replies] Last: thank you Mr JLBorges, you're the best!!! (by vindiou)
Using Power(Math)
 
How can I make a console app that shows numbers which is xyz=x^x+y^y+z^z ?
[2 replies] Last: #include <iostream> #include <tgmath.h> int main() { for (int x=... (by DDomjosa)
by Marth
Array Question
 
I feel like i've asked this question 10 times and I still don't understand it. I have code that puts the alphabet into an array. void alphabet() { ...
[4 replies] Last: Conor Bless you ShiftLeft. I didn't even think about calling the memo... (by Marth)
I can't fix this one error
 
I've tried everything to fix this, any help is greatly appreciated, this is the only error I'm getting: 1>Source.obj : error LNK2019: unresolved external symbol...
[2 replies] Last: Try cleaning and rebuilding the project. (by Zhuge)
Going to fail cmpsci101 unless I can fix this one error
 
For the death of me I can't figure out this one error. Any help is greatly appreciated. The error is: 1>Source.obj : error LNK2019: unresolved external symbol ...
[1 reply] : the syntax is good, the problem is with your compiler... (by closed account E3h7X9L8)
Program due in 1 hour but i have 1 error help!
 
I have one error for this code and I cannot find the solution, help would be so much appreciated. The error code is: error LNK2019: unresolved external symbol "...
[5 replies] Last: @zhuge I fixed that and I'm still having the error (by dakotahelp)
November 2015 Pages: 1... 3132333435... 53
  Archived months: [oct2015] [dec2015]

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