Beginners - October 2011 (Page 42)

iostream.h: no such file in directory
 
Hi, I've been using codeblocks and have even tried Visual C++ 2010 Express and niether of them seem to have the header file iostream. I use to use it with mi...
[9 replies] Last: Do you recommend any updated learning materials? Everything that I fin... (by samartinjr)
by Ingvvy
Console Input
 
I want to make this work: #include "stdafx.h" #include <iostream> using namespace std; int main() { cout << "THE FAHRENHEIT TO CELSIUS CONVERSION PROGRAM\n...
[2 replies] Last: No, don't do that. Your problem is you are mixing up the concept of... (by Disch)
Module Troubles
 
So I am very new to programming, I enjoy the problem solving aspect of, it but I can't fix all my problems because I barely know C++. So I am writing a program ...
[2 replies] Last: Ah yes, I knew that! I guess that never really clicked for me before, ... (by The Pope)
by hikoch
question about switch in function
 
At the very first part of my program, #include <iostream> using namespace std; char Fd(0); int command_f(char Fd) { //This is a function used for the i...
[2 replies] Last: You putted case with caps lock on first letter. It should be small let... (by happykiller)
How do i use a variable outside a function
 
i have a few questions but my main one is how do i use a variable outside a function? im making a pokemon game. every pokemon has attacks they learn as they ...
[4 replies] Last: Is this going to be a console game? I don't see how a structure wou... (by hamsterman)
What's wrong?
 
I can't seem to find out why this won't compile. This is my objective: Write a program that calculate the average number of days a company's employees are abse...
[13 replies] Last: system is defined in cstdlib. But you shouldn't use that http://www.cp... (by ne555)
I need a bit of help with this one...
 
So bare with me on this one. I've been having a difficult time learning C++. For some reason, it's just not clicking with me. Could somebody point me in the...
[no replies]
by Claymz
object as pointer
 
when is object a pointer? I saw it in some book; a part of a method implementation in that class looked like so: String& operator=(const String& rhs) { ...
[4 replies] Last: Sorry, i forgot to mention that object in this case is a pointer (beca... (by Claymz)
fatal error LNK1120: 1 unresolved externals
 
I was wondering if I can get a little bit of help. I keep getting a fatal error and I'm not sure where in my code it's happening. I was wondering if somebody ca...
[2 replies] Last: Thanks. Now its working. However, the problem that I'm having now is i... (by bwill31)
by FRM
Hi, I need a little help please.
 
Hi Everyone, I started to study c++ on my own recently. I am reading C++ how to program 8th edition and i use DevC++ compiler. My goals for now are 1. learn...
[3 replies] Last: Just to add, the Deitel books - which you are using, are great for ref... (by closed account ypfz3TCk)
by JBabyJ
Functions: Can someone help me with the whole concept.
 
Hi everybody! I am in my 7th week of C++. The professor goes so fast that my head is spinning. I have no idea what the concept of a Function is. I'm going to...
[11 replies] Last: Thank you so much for all of your help, Disch, your examples have been... (by JBabyJ)
by kw1991
Problem displaying text file
 
I'm having trouble displaying my text file correctly. Theres a debug error message that says stack around variable student is corrupted here is all the code ...
[2 replies] Last: thanks for the help (by kw1991)
Keep a function running while doing other stuff.
 
Hi. I'm kinda new to C++. I just wanna ask a question. Is there a way for me to keep a function running while I'm doing other things. For example, a PC...
[1 reply] : The logic behind that would be that everything would be executed concu... (by Blessman11)
couting {} within code
 
I am looking to write a loop that will count the number of {} in a program but I am not sure as how to start this one: My first thought is that I would need ...
[3 replies] Last: You could read from a stream using getline, which takes an optional de... (by moorecm)
Appending to multiple vectors
 
Hello cplusplus devs! I have an initialization-function, which initializes some objects and some vectors to hold these objects. Both the objects and the vec...
[2 replies] Last: Can you post code snippets? (use the code tags if you do) (by Gaminic)
Dont know what the problem is? Need the program to tell if the answer is correct or incorrect
 
#include <stdio.h> #define SECRET 17 int main(void) { int number_wanted; int answer; int number; answer= SECRET*number; printf("Doing the Exceri...
[3 replies] Last: I'm using a basic C complier. I'm still having some trouble the progr... (by Moschops)
by Kart
The system cannot find the file specified
 
Have dug round the forum to check if per chance someone has assisted with my issue in the past but no joy-perhaps I didn't look hard enough? Basically, I kee...
[4 replies] Last: Thanks Framework- I may have now resolved and it is now running ok. (by Kart)
by aasaa
c++ vs. java Or python
 
hey, I want to know what is more acceptable in companies, java or c++? when you prefer one on the other language? and what about python? any comparison bet...
[1 reply] : It really depend on the company core business. If company is doing tra... (by sohguanh)
Program executes correctly at first iteration only ! Why ?
 
Where have i gone wrong ? #include<iostream.h> #include<conio.h> void main() { int ch,x,n,d,sum=0; do { cout<<"\n\nEnter a number\n"; cin>>n; x=n; do ...
[5 replies] Last: I'm trying...be patient... (by jalfor)
by jalfor
Non-Text File I/O
 
Just a small question: When you open up almost any non-text file, all you get is completely incomprehensible gibberish. I assume that's because it's not stored ...
[3 replies] Last: Use libraries. Seriously. (by ultifinitus)
October 2011 Pages: 1... 4041424344... 59
  Archived months: [sep2011] [nov2011]

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