Beginners - September 2011 (Page 46)

C++ Error! { missing function header error C2447
 
// Hello.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <Windows.h> #include <time.h> ...
[2 replies] Last: You should put using namespace std under #include<time.h>. Also, you n... (by closed account EvoTURfi)
Tutorial...
 
1.What is far pointer? 2.What are Dangling pointers? 3.What kind of features of C++ followed by C-Language. Explain?
[1 reply] : I'll take education systems for 200 hundred. This is completed by stu... (by Intrexa)
writing to binary file
 
Hello, i'm trying to write to file in binary mode and here is the code int main() { ofstream fout("b.bin",ios::binary | ios::out); fout.write("Hello worl...
[no replies]
Why is 'using namespace std' used
 
Hi, I'm just starting to learn C++. What I've learnt till date is we use <iostream> which contains everything needed for input/output. Then also we need to...
[4 replies] Last: That isn't at all a stupid question. iostream is a C++ code file (mor... (by Kyon)
Problem with a template inside/outside a a DLL
 
Hi, I've got a problem using a template outside a DLL library!!! I’ve got a Class TestClass. In TestClass, I’ve got a standard function and a tem...
[no replies]
Explaination...
 
#include<stdio.h> #include<conio.h> void main() { char far *s1,*s2; printf("%d %d",sizeof(s1),sizeof(s2)); getch(); } OUTPUT = 4 2 ----> ...
[2 replies] Last: Holy- That's one ancient compiler, you got there. I'd suggest using on... (by helios)
triple pyramid
 
hi im new in c++ and im making a three pyramid which depend the size and form in input file so far i can only make one and theres so much a lot to input in my c...
[2 replies] Last: sorry im also new in forum so im not familiar here. (by justme0w9)
ERROR HELP !!
 
No matter what i try i keep getting an error. class student { public: char name ; int age; }; int main() { student q; ...
[3 replies] Last: that is the error that i dont know enough to explain, so i switched it... (by mxjabber)
C++ learning application
 
Hi, I'm new to C++ and I'm struggling to learn it online. I was wondering if there is any learning and interactive application to aid in learning C++. Tha...
[1 reply] : The best you can do is find exercises for your skill level and work th... (by georgewashere)
by lodus
short code help
 
What I'm trying to do is create a program that lets a user enter two numbers (floating point) and a symbol (+, -, * or /) and then calculates the answer. The o...
[6 replies] Last: Oh, I see. I had been told it's best to split everything up that way... (by lodus)
by hwuy
import
 
i am trying to import 3d models from the program milkshape 3d for a 3d game. Im not sure where to start. do i need to make a library? do I need to have milkshap...
[2 replies] Last: thanks that helps alot! (by hwuy)
by dznguy
error C2143: syntax error : missing ')' before 'const'
 
this is part of my code, and in this part, i encountered this problem at line 15, it gave the errors: Error 1 error C2143: syntax error : missing ')' before '...
[3 replies] Last: AddWithLongestFirst(const LargeInt& num1, const LargeInt& num2, const... (by shacktar)
My most ambitous project till today - Tic Tac Toe (suggestions & insights)
 
Hi, I am not really sure how long i have been learning the c++ programming language but it is not more than 3 weeks. I have started to read a book named: Micha...
[13 replies] Last: this is the end finally! ... i think it wasn't very polite of me by po... (by masky007)
My own libraries...
 
Hello, I would like to implement my own functions in programs I make without having to define them in each program. I know I would have to make a library with ...
[6 replies] Last: @firedraco How??? (by closed account EvoTURfi)
by KevinB
In need of some C++ Help!
 
The program I'm trying to code needs to consist of the following: Letting a user input the name and prices for 10 stocks and store the names and values of th...
[2 replies] Last: On lines 34 and 36, you are taking the stock name and price into the s... (by closed account EvoTURfi)
ios an undeclared identifier?
 
I'm working on my first C++ assignment, and am trying to use "cout.setf(ios::showpoint). But when I did, I got a compiler error saying that ios is an undeclared...
[5 replies] Last: Thanks for your help. I'm embarrassed to say though that, when I went ... (by Nostalion)
Code Sales Program
 
I recently made this program (for learning, ignore the fake data). Is there a way I colud've made this program more efficiently? Btw, tax is supposedly 6% for t...
[no replies]
Bool Function(int, string) help it does not work as i want
 
Hello Guys, I have like this in a file : OK Green > start 1 OK Green > start 2 No Green > start 3 OK orange > start 1 No orange > start 2 No orange...
[no replies]
I need some help
 
I'm having a difficulty making the program below. Can someone make me one? I will appreciate it very much. Thanks. General Specifications 1. You are allowed ...
[3 replies] Last: This is a fairly easy program to write. The first one wants you to und... (by wolfgang)
by Sm0e
AI Not Drawing
 
I'm currently trying to create a Tic Tac Toe AI. So far it's going fairly well however for some reason an X won't draw when I click and O to two locations- the ...
[no replies]
September 2011 Pages: 1... 4445464748
  Archived months: [aug2011] [oct2011]

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