General C++ Programming - October 2015 (Page 9)

can“t see outputs
 
Can't see the fail in splines method #include "mn_aritmeticas.h" #include "mn_interpolacion.h"...
[1 reply] : what are you trying to do ? what is the exact problem ? is this the fu... (by closed account E3h7X9L8)
Need help C++ if and else
 
How would you write this as an if and else statement? #include <stdio.h> void swap(int *a, int ...
[2 replies] Last: So this is the 4th topic about this same subject . (by TheIdeasMan)
by n1k170
Help me on a quest C ++
 
Can you tell me if I error and where ?? Defining a two-dimensional array of real numbers double pre...
[1 reply] : I'll assume you #include <iostream> in "stdafx.h". Other than that, ... (by Militie)
Quick helpn needed!
 
Write the definition of a function signOf, that receives an integer parameter and returns a -1 if ...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/control/ http://www.cplusplus.co... (by mutexe)
Trouble loading proper sprite resource
 
I'm trying to get a powerup to load based off the players health. In my current state, it only loads...
[2 replies] Last: That makes sense. Thank you for the response. (by Andromedine)
by SBYung
Changing My Major?
 
Hello everyone, As it stand, I am starting to become quite troubled with my major as of now. I am...
[2 replies] Last: Universities generally have some sort of career counseling office, whi... (by helios)
IO Files out in the work world
 
Hey fellow programmers, how often do programmers out in the work force usually do IO file related pr...
[1 reply] : Working with files? Almost everyday: loading configurations, resources... (by MiiNiPaa)
Question on C++ code
 
#include <stdio.h> void swap(int *a, int *b, int *c) { int max,min,mid; max = *a>*b ? *a:*b; m...
[3 replies] Last: Hi, Have a look in the tutorial, it shows examples. Edit: No, never ... (by TheIdeasMan)
int **array segmentation fault
 
Hello everyone, I am trying to set the values in a dynamically allocated 2-D array like this: /* ...
[5 replies] Last: Solved. In case anyone wonders, had to replace *matrix = (int*) ca... (by jumper007)
Need Help error balance checking program
 
.... delete
[2 replies] Last: ... delete (by coolioschmoolio)
redefinitin of ______ previoulsy declared here
 
Hello, I have this annoying error 'redefinitin of ______ previoulsy declared here', and both them p...
[2 replies] Last: As @Zhuge suggested, your problem is declaring the templated functions... (by jumper007)
Help with gpa calculator
 
int test; int test1; int totalPoints; int counter; int gradePoints; char lett...
[no replies]
Making a SIMPLE graph, Help
 
Hello everyone, I need a simple, clear script that plots a function (say, sinus between -pi and...
[3 replies] Last: I need a simple, clear script that plots a function Create a script t... (by kbw)
by isanh
Stuck in infinite loop
 
I am not sure what is making the code skip a crucial step in the program. Here's how it should work....
[3 replies] Last: Final version #include <iostream> #include <cstdlib> #include <ctime> ... (by isanh)
Why we use const keyword in function parameter
 
I know we use const keyword to make pointer to constant, constant pointer, etc. But what's the pur...
[7 replies] Last: @LB Frustum *const m_frustum; (by Ericool)
Slot machines
 
Hello. (This is my first post so bear with me) I'm trying to make a program with slot machines and I...
[5 replies] Last: I was desperate to fix and finish this code because I just don't know ... (by Sara Ryder)
by Wyboth
Do we still need to release 32-bit versions of our software?
 
It is now 2015 - do we still need to release 32-bit versions of our software? Most people (to my kno...
[2 replies] Last: Because there are a lot of people who still have 32 bit computers whic... (by shadowmouse)
Problem: $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
 
Hello everyone, When I write this program to draw a circle in Dev-C++, I have a problem in t...
[1 reply] : Please read: http://www.cplusplus.com/articles/36vU7k9E/ Also, instea... (by LB)
by AnguGx
Pythagor
 
So I'm trying to find if in interval between x and y there are numbers that match the formule a^2 + ...
[1 reply] : This is not a homework site. We won't do your homework for you. Howeve... (by AbstractionAnon)
by m10
Help Reading in From a .txt document!
 
I am trying to make it so that when this program reads in an empty data set it will display "No Stat...
[3 replies] Last: Thank you very much! Sorry I didn't use the code tag, this is my first... (by m10)
October 2015 Pages: 1... 7891011... 27
  Archived months: [sep2015] [nov2015]

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