Beginners (Page 2)

not declared in scope and no member name with vectors.
 
#include <iostream> #include <vector> #include <cmath> #include "ANN.h" using namespace std; co...
[2 replies] Last: Ok so I see what I did wrong for the second one but the first one conf... (by majinvegeta010688)
How to animate a list of sprite
 
How to animate a list of sprite which has certain delay for example spr1 - 3 ticks spr2 - 5 tick...
[1 reply] : In C++ there are different libraries that are used to develop 2D and 3... (by Atyab)
Counting in a function
 
I'm pretty sure I'm making this way more complicated than it needs to be. The program already works,...
[5 replies] Last: I don't know that there's one "best way" to accomplish it. There are ... (by tscott8706)
Simulate rolling a die using functions
 
Hello, I have been tasked by my professor to create a program that simulates a dice roll using ...
[2 replies] Last: @Blev 58 Actually, it's much easier to get the random die number than... (by whitenite1)
Integral using functions
 
I am supposed to write a program that lets the user enter three positive values: a, b, and n. a is ...
[7 replies] Last: I understand how to do integrals. My problem is that I am having trou... (by Duoas)
What's wrong with this program??
 
This program does not print what I want. #include <stdio.h> int main(int argc, const char * argv...
[3 replies] Last: As I already said... take a look at those lines and fix them. while ... (by fg109)
Need help with arrays that returns ith element
 
Just need help understanding what this do students . Like I'm really confused with the part I unde...
[2 replies] Last: Just for clarification, the declaration of students is this (taken fro... (by tscott8706)
How can I do dynamic memory allocation inside an structure?
 
I'm trying to do a program that read some informations of a person and write them on a binary file, ...
[3 replies] Last: Can you show us an example of how you want to use this struct? For in... (by tscott8706)
Fill auto incrementing arrays
 
Hi there I am trying to create two arrays of 10000 doubles. The goal is to have one count from 0 to...
[9 replies] Last: hmmm closed and opened....it worked... Much appreciated! (by monparlour)
multithreading and launch parameter
 
My book is trying to explain the use of async() in multithreading. The book says that launch::de...
[no replies]
Hw problem, algorithm with binaryheap
 
Alright i've been trying to figure this out for a while now. I'm trying to do the first step of my h...
[2 replies] Last: I believe the error is in regards to your missing semicolon. (by fg109)
unresolved external symbol problems
 
I am trying to access the SetUp object that I made from another class, but I am getting these errors...
[2 replies] Last: I did that but now I am getting an error in my main.cpp file at l.20(s... (by AmazingBKaiser)
Polling Application
 
Trying to figure out a Polling program. The program has 5 questions that get asked to upto 10 users...
[2 replies] Last: Not quite sure how to do that. This is my first programming course an... (by chris23balln)
Difference between CodeBlocks and Visual C++ in syntax?
 
I use codblocks and am a beginner programmer, and find codeblocks to be simple. I see some people th...
[3 replies] Last: On Windows the console window often close down as soon as the program ... (by Peter87)
by lew13
Need a little help debugging
 
I get an error at line 23: A function-definition is not allowed before "{" token, and I don't unders...
[2 replies] Last: You are missing clams and you cannot as ^says, define a function withi... (by It3rat0r)
FLTK. Stroustup's striped closed polyline exercise.
 
Hi! I study c++ by myself using Stroustrup's manual. Problem that I faced is: when I defined new o...
[no replies]
lldb error, won't run to completion?
 
Okay, so I'm trying to create a program to calculate pay for a parking deck. It has to have function...
[2 replies] Last: Done! (by mjacobsSP)
by Sev
Bad Code or Bad Computer
 
This code came from a book called "Beginning C++ Through Game Programming" by Michael Dawson" and th...
[5 replies] Last: There is a play button in visual studio, you can click that button to ... (by Psoon)
This is a HW problem and im confused why my brackets are errors. line 96 i believe. Thank you.
 
Write your question here. I don't understand what im doing wrong... I set it to define the last 3 f...
[2 replies] Last: I see you don't like magic variables. I give you : MAGIC VARIABLES: ... (by Psoon)
creating base classes from name in file as read
 
hi, I'm creating a program that takes data http://football-data.co.uk/mmz4281/1415/E0.csv ad so fa...
[5 replies] Last: What shadowCODE posted is your best bet for doing that. You can't crea... (by jheard901)
Pages: 1234... 53
  Archived months: [feb2015]

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