Beginners - September 2012 (Page 23)

by xp190
const pointer troubles
 
Hello I have come across an issue which I can not seem to figure out. I'm writing some 3D code and I started using ASSIMP to load a simple 3DS scene. T...
[10 replies] Last: I thank you kindly gentleman.... GetOrphanedScene() combined with a g... (by xp190)
I'm stuck with accumulators!
 
Hi, this is my first language and I am taking a class in C++. I know I'm stuck in something simple, but I need help. I can't figure out. My code is not finish y...
[2 replies] Last: Thanks so much!!!!!! (by laumonique)
Build in MS Visual C++ Express gives Virus warning?
 
I create a project with Win32 application in Microsoft Visual C++ Express and a lot of files gets created for me. When I hit the "Build" button my antivirus pro...
[4 replies] Last: The sample program automatically generated by Visual Studio gives you ... (by modoran)
Function calling issues
 
I am supposed to develop a program that takes a song title and its playtime from a user in the form of H:MM:SS Song Title. It should print right below it: Song...
[5 replies] Last: I believe I have conquered the function issue :). Thank you all for t... (by R2B Boondocks)
flowchart help
 
Can you do two 'if' statements in a row? For instance if(x<10) if(y>10) cout<<"*****"<<endl; else cout<<"#####"<<endl; cout<<"$$$$$"<...
[5 replies] Last: Oh I got it, I think. (by cheshirecat)
by zkl
Assignment help
 
Assignment help The first part: This program is a dice generates the number from 1 to 6. Each number is associated to a prize like 1 is a car, 2 is a Lun...
[4 replies] Last: Since its void, it will have no reurn? Yes. Essentially all the... (by pogrady)
Totally Stuck (1,2)
 
Hi I have some trouble finding what to do... This is my initial code { for(int a=1;a<4;a++){ cout<<"What is your name?"<<endl<<endl; ge...
[26 replies] Last: ooohh ok... now i get it thanks i will check it out thanks (by Mario Robles)
simple paycheck program
 
hey i'm new to C++ and I am trying to write a simple paycheck program but do not know where to get started. I am given: payrate = $16.78/hr overtime = 16...
[2 replies] Last: Another C++ newbie here. Your project sounded interesting so I tried i... (by leftcoast)
Question about setprecision
 
Say I had a number like 22.4, is there a way to use setprecision to make it display 22.40? How do I add zeros to the end of the number, I guess, is a better que...
[1 reply] : http://www.cplusplus.com/reference/iostream/manipulators/setprecision/... (by freddy92)
Program using array won't compile properly
 
Hey. I am trying to create a program that stores reminders or 'tasks' and a time associated with them and shown below, however it won't compile properly. I stil...
[5 replies] Last: I assumed that it would just increase in size... Thank you ! :D Co... (by TheIdeasMan)
by Micaal
Weird behaviour by get() and seekg()
 
Normally I find everything I need to know about C++ on the internet , but now I'm having a hard time. Description: After setting the get pointer by seekg(int) ...
[10 replies] Last: No , I read it char by char. And possibly edit obtained strings. T... (by cire)
runtime error
 
am getting runtime error in following code http://ideone.com/rS5iE the code is perfectly fine syntax wise because i ran it on dev c++ and it ran successful...
[9 replies] Last: Linux gives you access to all sorts of things, and experience with a U... (by TheIdeasMan)
by fluppe
A short question about Destructors
 
Hello, I'm new here and new to C++....and I have a short question. Does a Class always need a "Destructor" ?? (For example a class like class zwei{ doub...
[8 replies] Last: Gah, I hate it when somebody beats me to answering the question. Q.Q (by DesiredNote)
by ND04
abbreviate the first 2 letters of the name using #<cctype> / #<string>
 
The program reading the name of the state and abbreviate the first 2 letter toupper(c). If there are two words in the name, it will read the start letter of ea...
[1 reply] : Try fixing the indentation in your file. I said something similar her... (by kevinkjt2000)
by Arsal
Missing Function Header?
 
// switch.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; { char ch;...
[3 replies] Last: Just to shorten it a bit: #include <iostream> using std::cout; usi... (by TheIdeasMan)
by ilker
Normal distribution
 
Hi, I want to write a function that will return a double from a normal distribution, with for instance mean 0.2 and variance 0.1 . Could anyone help me abo...
[2 replies] Last: Thank you very much. This helped a lot. (by ilker)
by ilker
permutation function
 
Hi, I want to write a function that will choose say m of the members of an array with n members, randomly. Could anyone help please?
[3 replies] Last: Thanks JLBorges, it solved my problem. (by ilker)
by abry
Problem with Tik Tak Toe Game C++
 
I'm having a hard time completing my tik tak toe game. I'm stuck at the horizontal check as you can see below. I don't know why it won't declare the winner even...
[2 replies] Last: Thanks for the solution. And also thanks for the advice, It will sure ... (by abry)
is there a way i can unlock all the restrictions in school computers?
 
for education purpose only, i just wanna know how they had blocked websites, disabled the right mouse, and blocked many features in windows.
[5 replies] Last: You could write some assembly code assembly?? I don't even understa... (by Aceix)
by alcan4
Help fixing my Program?
 
somehow the pow funkiton wont work propperly... the prints are in german just fyi =D #include <stdio.h> #include <math.h> int main() { int n = 0; int K =...
[9 replies] Last: Now that you have changed the code, you must show us the code if you w... (by Moschops)
September 2012 Pages: 1... 2122232425... 62
  Archived months: [aug2012] [oct2012]

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