Beginners - November 2010 (Page 10)

by firix
file extensions in Visual Studio?
 
Hi, When I create the project in Visual Studio. *.opensdf *.sdf *.sln *.suo With the above extensions creating files. What files are files tha...
[4 replies] Last: @grey Wolf thanks but I'm not asking him to this information is ... (by firix)
by firix
complex class I wrote
 
Hi, complex class I wrote. Do you think Is there a place I do wrong? Which functions should return a reference ? #pragma once #ifndef _IMAGINAR...
[6 replies] Last: I am using result of the operation is correct it is incorrect.... (by firix)
by DevP
Adding fonts in a C++ Program
 
Hello, I am a newbie in C++. I am using Borland C++ 5. I want to know how to add a downloaded font yo the program and display it in the program. I want the text...
[3 replies] Last: Is there any header file that I can use or download to show text in th... (by DevP)
by firix
infinite loop ?
 
Hi, I can not run this program since yesterday. What I do wrong? //a.h #pragma once #ifndef _A_H_ #define _A_H_ class B; using namespace std;...
[14 replies] Last: as a result: it's not a good idea to use using namespace std; in a... (by firix)
Goto Statements
 
I'm reading through some legacy code trying to figure out what it's doing. I've run into some goto statements and don't know exactly what they are doing. ...
[7 replies] Last: Using gotos from Code Complete: A Practical Handbook of Software... (by closed account z05DSL3A)
buffer overrun problem
 
Hi: For a programming assignment I am required to deal out two poker hands and determine which one is the best. The assignment gave me some code to start with b...
[1 reply] : Never mind I figured out a solution on my own. I would help if the tex... (by rem45acp)
CALENDAR PROGRAM IN JAVA..
 
hello guys. i know this is a c++ forum.. but this is my way to solve my problem pls guys help me.. heres my code in java.. public static void ma...
[1 reply] : As you said, this is a C++ forum. Post your code on a Java site. (by Return 0)
by Sixx
Class with an array from another class
 
Im trying to make a class with an array from another class. Obj class Obj { int i; public: Obj ();// default constructor; Obj (int j) {i=j;}; }; Arr...
[6 replies] Last: I'm sorry i have misunderstud debuger and the pointer this. What I w... (by Sixx)
Generating 2D array
 
Ok, Still have issues with pointers. I want to be able to dynamically allocate for a 2d array. I was wondering what was necessary, this was my first attempt:...
[2 replies] Last: Also note the idea of passing back an allocated pointer is a bad idea ... (by Disch)
is the equation correct?!?
 
Hello, I have study C++ program since few monthes, and i do some practices to be better. so i want to be sure if my equation is correct?! //this program...
[1 reply] : [co de] Your code goes here [/co de] What is it suppose to do?... (by ne555)
Error "Segmentation fault"
 
I keep getting an error that says Segmentation Fault. Online it says that it's a very vague error message, therefore it is hard to figure out what the problem i...
[1 reply] : This line is a guarantee for a crash for (i=0; i>=0; i++) ch = te... (by coder777)
a problem in compiling a program
 
hello there I am studying c++ programming for the first time and i need your help for this code //This program will be used to determine a posative even val...
[4 replies] Last: Yeah that's right.. our Mr told us that it's not allowed to use || (... (by engineer sara)
errors in my program
 
i am getting an error list that consists of:. >c:\users\nathan\desktop\computer science\arraypractice\arraypractice\arraypractice.cpp(46) : error C2297: '>...
[1 reply] : you have several errors line 11 should be: ifstream input1, input2... (by coder777)
creating an array with fscanf
 
Hi all, I am trying to read data from a file and assign it to a permanent spot in an array. Here is the problem area of my code: #include <stdio.h> #...
[3 replies] Last: Hi again, I dont normally use FILE* {instead use win32 api's Create... (by shredded)
recursive calculator
 
int tes(int n) { if (n == 1) { counter++; return 3; } else if (n == 2) { counter++; return 2; } else { counter++; retu...
[19 replies] Last: i intend getting a diamond shape output.... (by whiisper2uall)
Abstract class & Polymorphism
 
Hey guys. I am confused by the abstract class and polymorphism. Is it abstract class is one of polymorphism? If it is, what kind of polymorphism is for abstr...
[2 replies] Last: erm.. i did understand ur explanation. But i still don't know whether... (by redevilkang)
problems with IFSTREAM and Void Functions
 
I need to read from a file that contains names and grade, then use the grades to find the average and letter grade. I know i need to first declare the void f...
[no replies]
by DJ TLG
How can i declare ???
 
I have a constructer with 5 parameters. In the main i have to call it and after its done i have to display its elements with the display function inside the cla...
[1 reply] : If you want to use that ctor, you'd do it like so: ZealotCircle th... (by Disch)
Frigate battle project
 
Hey guys, i have this project for the semester and I need some help with it. The instructions (summarized because its a long Word doc): [*] One ship is ...
[3 replies] Last: Oh man this is really frustrating im stuck at the beginning of the thi... (by halopower67)
Hello World To DLL
 
I would like to see a video or set of instructions to the EASIEST DLL using program anyone can make (for Windows). I found this one video on youtube, but I didn...
[3 replies] Last: Hi, I am assuming that you want to create a DLL as well as a file to ... (by shredded)
November 2010 Pages: 1... 89101112... 42
  Archived months: [oct2010] [dec2010]

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