[try Beta version]
Not logged in

Beginners - February 2017 (Page 24)

Program Not Reading Function Declaration
 
Hi, I'm writing a program for class that requires the use of two .cpps and two .h files. I can get t...
Feb 11, 2017 at 2:03am
[4 replies] Last: Thank you! (by Pratzelwurm)
how do you pass an array to main from a function?
 
Hello so i am having a problem making an array with in a function and it is causing my computer prog...
Feb 10, 2017 at 11:19pm
[5 replies] Last: Duplicate post: http://www.cplusplus.com/forum/beginner/208201/ (by integralfx)
Average and median giving ridiculous answers
 
(all information given is biased off the input of 5 students and each student watching 1, 2, 3, 4 an...
Feb 10, 2017 at 11:19pm
[4 replies] Last: Duplicate post: http://www.cplusplus.com/forum/beginner/208196/ (by integralfx)
Process name from ID?
 
I'm trying to get a process name from (what i think) is the PID i get HWND Tabbed = GetForegrou...
Feb 10, 2017 at 10:47pm
[1 reply] : To get the PID from a HWND use GetWindowThreadProcessId. https://msdn.... (by integralfx)
latest compiler version
 
Having trouble finding the latest version. when i download what looks like the final and try to comp...
Feb 10, 2017 at 9:27pm
[no replies]
Linking lib
 
Hi, I want to link libraries to the code by code, it's strange but iot's a posibility to link throug...
Feb 10, 2017 at 9:15pm
[1 reply] : You can dynamically link libraries if they are DLLs. The mechanism fo... (by AbstractionAnon)
getline error: function not found
 
I'm trying to get this data from a text file and it's giving me a weird errer where it's telling me ...
Feb 10, 2017 at 9:12pm
[1 reply] : Two problems with your code: 1) With this form of getline, getline e... (by AbstractionAnon)
change an element of an object
 
I am trying to complete the zombie rabbit program I found in one of the forums here as a practice pr...
Feb 10, 2017 at 8:33pm
[2 replies] Last: Thank you for the response. There are some parts of your code I'm not ... (by laley31)
I get error whats wrong?
 
#include <iostream> #include <vector> #include <cstdio> #include "GL\arcball.h" #include "GL\GL....
Feb 10, 2017 at 6:47pm
[2 replies] Last: Please post the full text of the "unresolved external" message. PLEAS... (by AbstractionAnon)
finding product
 
hi! i wanna find the product of all inputs that user enter and also user determine the length of a...
Feb 10, 2017 at 4:41pm
[3 replies] Last: i can't use double it should be just int and it doesn't accept 0 beca... (by melinda345)
Installing SDL2 image
 
Hello all. I've been stuck with this a while hope somebody can help.I'm using orwell devc++ and ...
Feb 10, 2017 at 4:39pm
[2 replies] Last: Yes I have: -lmingw32 -lSDL2main -lSDL2 but I'm not sure how to upd... (by closed account N8RzwA7f)
calculate area of a circle not working (FIXED)
 
I'm writing a function to calculate the area of a circle and I can't seem to get it to work. Does an...
Feb 10, 2017 at 4:28pm
[1 reply] : Since you never change the value of flag , you could replace line 17 ... (by dhayden)
divisors count
 
hi there! i don't know where i did wrong in my code i wanna count the numbers between l and r w...
Feb 10, 2017 at 4:24pm
[10 replies] Last: (dhayden)Are you sure you typed it in right? yes i'm sure for (in... (by melinda345)
learing prime numbers with loop/recursion
 
Hi programmers! I want to write in c++ please,help me to solve this problem Problem: Raja Beta i...
Feb 10, 2017 at 2:58pm
[6 replies] Last: ...why don't you post your code... before asking for help (by Flaze07)
by rantiv
Game simulation
 
Nevermind
Feb 10, 2017 at 2:16pm
[1 reply] : Is your question still open? You could: 1) semplify your code by: a) o... (by Enoizat)
reading a file with name + phone number
 
Write your question here. So, i got the name to come out but im having problem with phone number to...
Feb 10, 2017 at 12:53pm
[3 replies] Last: This is a pretty popular assignment did you try searching?- http://www... (by megatron 0)
Functions
 
I need to define a function is_even that takes an integer argument x and returns the bool value true...
Feb 10, 2017 at 11:47am
[3 replies] Last: Pay attention to the details: // this is a declaration: int is_even (... (by keskiverto)
by xx123
inputs and loop
 
I am trying to write a program that asks the user to input 8 types of vehicles then output the 8 veh...
Feb 10, 2017 at 10:03am
[5 replies] Last: You're mixing unformatted input ( getline(cin, theVehicle); ) with for... (by integralfx)
by adi94
char pointer vs int pointers
 
Hey, I have a problem with 'int pointers' vs 'char pointers'. Let's see a simple exemple: ch...
Feb 10, 2017 at 9:16am
[2 replies] Last: Very nice, i understand the problem. Thank you very much @Peter87. (by adi94)
Initializing arrays in constructors
 
I have two constructors: an explicit default ctor and a value ctor that will be used to create a his...
Feb 10, 2017 at 8:39am
[4 replies] Last: Thanks for pointing out, fixed it. (by Golden Lizard)
February 2017 Pages: 1... 2223242526... 37
  Archived months: [jan2017] [mar2017]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.