• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Hello to everyone, I've got a question: while I was using visual studio for a code it appeared a lo...
[2 replies] Last: you should use only using namespace in cpp files . (by Ericool)
Array Definition
Hello,I have a question. When give a definition,is there any difference between int a ={1,1,2,2,...
[13 replies] Last: sure the assembly will change if you set different parameters for comp... (by Ericool)
Problem printing an array of arrays
Nevermind. Solved.
[4 replies] Last: @OP: Please do NOT delete your question after receiving answers. It ... (by MikeyBoy)
File Handling in C++
#include<fstream.h> #include<conio.h> #include<direct.h> void main() { clrscr(); mkdir("H:\\Do...
[no replies]
#include "std_lib_facilities.h" // authors header file i am using for library access int main (){...
[3 replies] Last: kbw: It's just your typical sieve of Eratosthenes. The code looks app... (by helios)
Passing function as elements in an Array
Can we pass functions as elements of an array . please reply fast.
[3 replies] Last: all these element of the array 'calc' are functions . They are not. c... (by MiiNiPaa)
Problem with Initialisation of global objects to my class.
My class works for local assignment and use, but setting a global array gives a zero value. My ex...
[7 replies] Last: normally a static const member attribute is initialized in the class d... (by Ericool)
Relationship between data structures
Within the function DrawMap the MAP_BUFFER parameter is used to determine the values written into t...
[1 reply] : This is the part you need for your discussion: ENTITY & rTile = rMap ... (by coder777)
GDI Double Buffer w/ Transparency Driving Me Bloody Mad!
Hello, there! As you can tell from the title I'm having a bit of a problem with this program I'm ...
[1 reply] : Without WM_PAINT you will always get unwanted effects since the drawin... (by coder777)
Weird c++ program run error in two platforms
Hi. here is my code. It runs on Ubuntu perfectly fine. but when I run on mac OS X in both netbeans, ...
[5 replies] Last: ifconfig and ping is equivalent to which linux system call? ifconfig:... (by MiiNiPaa)
// A PROGRAM TO GUESS THE NUMBER BY COMPUTER #include <iostream> using namespace std; int main ...
[3 replies] Last: @dhayden, Thank you sir. It resolved my issue. (by sankar86)
getline is reading in ALL white spaces until endl
I have a file, that has a list of about 300 cities and its cost of living index. Example: 115.3 San ...
[5 replies] Last: One way is to read it in and split the city and state apart like this ... (by SamuelAdams)
by medoo
output design
Hi every body I want to know how to arrange my output file to be lik every variable in a seperat...
[1 reply] : Sorry can't get the output to format right in the forum but it looks r... (by SamuelAdams)
Print a 3-D drawing of a die, using asterisks
Does anyone know how to write a code to print a 3-d drawing of a die, , using asterisks? Die is 3D ...
[6 replies] Last: @tuanle007 Each time you run your program, the first number in the ra... (by whitenite1)
by shalin
How do i send a double value in bcd format (byte[3]) data to serial port device?
hi guys...im new to this forum...can anyone help me plz... C++, Serial, Communication I need t...
[no replies]
Problem With Text Color Function In TURBO C++
Please Help Me!!! I Have this code which should print the output in color but thats not happenin...
[2 replies] Last: @ Ericool That doesn't do what you think it does, and it doesn't answ... (by Duoas)
Sudoku C++ Windows Forms Problem.
Ok, let me start. I need help to make a sudoku working with a data grid view on windows forms. But i...
[2 replies] Last: But how do i create a 81 character string with a datagridview ._. (by xNewbie)
Having trouble File Writing
Hey guys, I like to think I pick up most parts of C++ easily, but when it comes to file writing for ...
[11 replies] Last: Ah never mind I found the problem, strcpy_s is supported on IOS. I use... (by carshalljd)
by Chubby
Need some explain with this problem
Hello There, Can I someone explain this problem. I dont understand what mean. I have read over and o...
[7 replies] Last: class is for oriented-object programming language which includes c++ a... (by Ericool)
Pages: 123... 19
  Archived months: [jul2015]