Beginners - June 2014 (Page 16)

by Asego
Stop timer when key is pressed
 
I'm trying to write a basic timer program for kicks. Everything works, but I can't figure out how to...
[3 replies] Last: Argh. Do it the right way: http://www.cplusplus.com/forum/beginner/561... (by Duthomhas)
C++, Zany Zack, Arrays, and Functions.
 
I have been assigned the following problem: Zack the Zany (formerly the Employee of the Month) ha...
[1 reply] : array = OFF; This does not set all the elements of array to off.... (by cire)
Find the array by element
 
Hi, Suppose I have some array. vector<obj*> vobj1; vector<obj*> vobj2; ......some mor...
[6 replies] Last: Pehaps a vector is not the most appropriate container type. If the ... (by AbstractionAnon)
by h4ever
unresolved externals - function already defined in file ... .obj (1,2)
 
Hello, I have some problem with unresolved external and cannot find out how this happens. I am on ...
[21 replies] Last: how to refer to the ERR_regex or ERR_regex_2 constant As keskive... (by AbstractionAnon)
Type Error
 
I am having problems with the types in this program for out putting a letter grade. Lines 39-67, an...
[8 replies] Last: Thank you! that totally works now. (by DEnumber50)
Simple question about headers
 
Hello ! I am reading my book's section on headers and I don't really understand why we need to h...
[4 replies] Last: Uhm, I believe you can define functions in a header file. Its just not... (by Jakee)
While( user == gullible )
 
I was just wondering is this a good way of writing the code for this exercise: While( user == gulli...
[3 replies] Last: When count is 0, count++ evaluates to the value before the increme... (by cire)
by zionet
We find two elements in an array of 100000 elements, which are subtracted coming to 0.
 
We find two elements in an array of 100000 elements, which are subtracted coming to 0. example: ...
[3 replies] Last: ? Whats your code. The number is coming to 0. (by zionet)
OOD: Fetch available actions from objects?
 
I'm trying out Object Oriented Design to make a very simple text-based adventure game where the user...
[4 replies] Last: ACTION_COUNT is the number of actions defined in one particular item... (by helios)
Program 13
 
Getting error when trying to compile #include<iostream> #include<string> #include<algorith...
[6 replies] Last: Hm, I searched a bit the compiler issue and found this: https://gcc.gn... (by pacman169)
Need help with Macros
 
Output of the following program for "J" should be ++y * ++y = 2 * 3 = 6. But when I execute this pro...
[7 replies] Last: > See below example O/P for cout operator All those are undefined beha... (by ne555)
Playing sounds
 
When I play a wav file sound with this code: #include <iostream> #include <windows.h> //I ad...
[13 replies] Last: What is a Hi Script ? (by BobTheZealotIsEpic)
Slash and 2 digit number entering
 
Hello ! I am having a small issue with my code, mainly I'm not sure how to do this. Basically, li...
[4 replies] Last: Thank you both very much for your help ! (by NookLines)
Typedefs and Define
 
What is the difference between typedef and #define ? Typedef: #include <iostream> using names...
[3 replies] Last: Thanks (by BobTheZealotIsEpic)
Atof or atoi
 
Hi guys, i've a problem. I don't know how to use atof or atoi in a bidimensional array. Basically ...
[7 replies] Last: This is a "find the student's average grade" homework. By "notes" le... (by Duthomhas)
Errors in 'hello world' C++ MPI program in Windows
 
Hello all, I am a scientific programmer but very new to MPI. I am trying to make classic 'hello w...
[2 replies] Last: Thank you very much for your answer. However can you speak in Windows ... (by a5997487)
MinGW Compiler or Compilers on Windows
 
I'm having a problem running MinGW. It is installed but won't run. I use the command prompt and type...
[3 replies] Last: http://lmgtfy.com/?q=set+path+in+windows (by keskiverto)
do loop only running once
 
I am writing a program to solve a quadratic function iteratively by having values of x converge, wit...
[8 replies] Last: In one way that looks like progress, it is actually looping. But the c... (by Chervil)
New to C++, question about a code
 
I'm learning it on my own while I'm out here on deployment, and came across this problem: //...
[3 replies] Last: Thanks guys, I'll try re-writing this with the ternary op just to see ... (by syntax error)
Don't recognise this for loop
 
Hi, I was going through Bjarne's book (Principles and Practice using C++ 2nd Ed.) and came across th...
[2 replies] Last: Ahh, thank you very much JLBorges. (by greenfox)
June 2014 Pages: 1... 1415161718... 48
  Archived months: [may2014] [jul2014]

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