General C++ Programming (Page 52)

How To Make it Limited to 100?
 
#include<iostream.h> #include<iomanip.h> void main() { int i,j,smalltest,temp; int Array ; ...
[2 replies] Last: int Array ; void TestNumber() { for (int a=0; a<=5; a++) { int x=0; ... (by SamuelAdams)
MS-DOS Minimum hardware emulation?
 
What is the minimum hardware MS-DOS needs to boot and run? (e.g. PIC, PIT, VGA, 8086 etc.) Accordin...
[no replies]
Working with strings, files and time-tag calculation
 
Hello CPP community. I've been interested in doing a little program for work at which I'm an appr...
[17 replies] Last: Thanks for the quick reply. Sadly I've never used any sort of stream,... (by Luponius)
push_back dynamically
 
I've made a simple raytracer, which works fine, and I have a piece of simplified code shown, that cr...
[3 replies] Last: Well since I don't need the instance name per say, the code below does... (by gth759k)
Anyone know javascript that could help me convert my c++ code to it
 
I am trying to convert my c++ code to javascript so that i can publish my game online, to anybody th...
[4 replies] Last: its ok if you mess it up converting it, if i get it converted to javas... (by brandonator)
by Bandar
A derived class constructor using base class constructor
 
Is this example correct? This example from a book Constructor of the Base Class Person::Perso...
[5 replies] Last: @tvrameshmc thank you so much. It worked. (by Bandar)
by bolt
i need help with my function
 
How do I Write a function that takes two linked list as input arguments these linked list contain ...
[3 replies] Last: Use below function. It is written by using std:list int fun(list<i... (by tvrameshmc)
by tambun
help needed..have no idea what's wrong with my coding..
 
#include<stdio.h> #include<stdlib.h> int i=1; int main() { int num ; float midter...
[4 replies] Last: Explain what is not working in your code. Your code is working fine th... (by tvrameshmc)
How will execute this pgm?
 
#include<iostream.h> #include<conio.h> void main() { int x ={1,2,3,4,5}, y ={5,4,3,2,1}, result ...
[1 reply] : int i = 0; while (i++ < 5) result = x -y ; Will do the same thi... (by Stewbond)
Simple Web Browser
 
Hey Guys: I am trying to create a simple web browser (and I’m talking simple) There are seve...
[1 reply] : Don't know what it is called in VC6, but you shoul have "Win32 GUI Pro... (by modoran)
by Pwego
Infinite loop?
 
I just get white screened when i try any while, for, or do loop. This is what i have I dont understa...
[3 replies] Last: n value must be changed in do while loop other wise program will n... (by tvrameshmc)
Stuck on commas when entering numbers
 
Hello, So, I am fairly new to programming and I've been trying to implement some other previously po...
[2 replies] Last: Thank you for your help! I re-worked it as follows for the first set ... (by wpenguin)
definition conflict in pthread.h
 
I have had several problems with pthread.h. The latest is a definition conflict. The code is: ...
[6 replies] Last: The variable rs_cube is loaded in the various "effect..." routines. ... (by NanoGoner)
Different Syntax
 
I am wondering if these codes are for C++ or C and if there is a simpler method to produce the same ...
[4 replies] Last: Thank you for the link (by aanthonyz)
Boost Libraries
 
I have been using the multi array from boost; what other handy libraries does boost offer?
[1 reply] : There's a list here: http://www.boost.org/doc/libs/ I've used the majo... (by Cubbi)
help me please! vehicle tax calculator
 
How can we calculate tax of vehicle with polymorphism? There are 3 types of vehicles: long, commerci...
[1 reply] : How can we calculate tax of vehicle with polymorphism? There are 3 typ... (by aysegulaksoy61)
What is the output of the following C++ code?
 
void fun1 ( int &K, int F) { int S=50; cout<<"In Fun1 : \n"<<S<<endl; cout<< K<<" "<<F<<endl; K+...
[3 replies] Last: yes I know (by closed account G187ko23)
Quick Sort
 
int x = array ; int i = top - 1; int j = bottom + 1; int temp; do ...
[1 reply] : Can someone explain if possible (by faieq92)
differing pthread.h files
 
I am learning about threads and have been trying to compile a program which contains one. It has th...
[5 replies] Last: I have lib6-dev as my library already (by NanoGoner)
how we write the output of this code?
 
int main() { int a=5,b,c; do { for (b=1; b<= a; b++) { if (b%2==1) continue; cout << b; } co...
[no replies]
Pages: 1... 50515253
  Archived months: [dec2012]

Cannot post in this page. To post a new message, go to the first page.