49,761 Topics

Member Avatar for
Member Avatar for SoulReaper1680

Salutations! Would anyone be kind enough to provide a general overiew as to what exactly is OpenGL. I searched the internet however, most of the material I came across didn't quite clearly state the different between OpenGL and GLUT. Also, what is SDL? I am quite familiar with C++ however …

Member Avatar for SoulReaper1680
0
116
Member Avatar for jhayar

hi im a newbie,can u give me an example of math problems using c language...preferably calculus using else-if statement,or a looping satement..thank u very much..godbless(",)

Member Avatar for mrnutty
0
60
Member Avatar for Kingfahad

Write a program that allows the user to enter a start time and a future time. Include a function named ComputeDifference that takes the six variables that represent the start time and future time.Your function should return, as an int, the time.

Member Avatar for Ancient Dragon
-1
162
Member Avatar for mobeen89

Hello! Ive searched the and even this site and I have not been able to find a way that would allow me, on the execution of a certain condition, to open a text or image file. By open here I do not mean using fstream etc. to open the file …

Member Avatar for Ancient Dragon
0
92
Member Avatar for Nikhar

Each year IARCS organizes a series of competitive exams based on computing languages. I have great passion for computers and hence it is natural that I was attracted towards it. Anyways, to cut the long story short, I was selected in ZCO 2010 and I have qualified for INOI 2010. …

Member Avatar for Nikhar
0
92
Member Avatar for ge6a93

Hi, i'm using VC++ 6.0. I'm having some activity in my program(e.g. moving object in a timer). If this object gets to the end of the screen and i press a key(doesn't matter which) a message shows up - MessageBox("You won"); or something like that. But if i do not …

Member Avatar for Rajesh R Subram
0
118
Member Avatar for gsingh2011

This is my code so far to connect to a webpage and retrieve the html: [CODE]#include <winsock2.h> #include <windows.h> #include <iostream> #pragma comment(lib,"ws2_32.lib") using namespace std; int main (){ WSADATA wsaData; if (WSAStartup(MAKEWORD(2,2), &wsaData) != 0) { cout << "WSAStartup failed.\n"; system("pause"); return 1; } SOCKET Socket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP); struct hostent *host; …

Member Avatar for marco93
0
736
Member Avatar for barakk

hi,I'm about to move to Vancouver Canada in the next four month. does anybody here know a good web site to start looking for a job.

-2
116
Member Avatar for rack

this is a bonus question..the doctor didnt give this subject to us..but i need these marks.plz someone help me. write i binary file that: 1.add new student. 2.delete student. 3.update student. 4.search student. 5.display student. 6.exit. each student must have first name , average, SID

Member Avatar for jonsca
-1
119
Member Avatar for niyasc

Hai, This is a source code written in turbo c for car racing game as a part of my higher secondary project. May I get some advices to improve it? 1.Did I use the real method to constitute motion in c? 2.How can I include sound in c? { Function …

Member Avatar for Nick Evan
-2
149
Member Avatar for Nikhar
Member Avatar for Nikhar
0
64
Member Avatar for rahul8590

i DO have searched the google to do multithreaded programming using c++ and found there were few like the ones supported in BOOST libraries and zthreads .. I would be glad if u guys could help me in suggesting much better ways in doing so .

Member Avatar for rahul8590
1
757
Member Avatar for AddyMan

I need help to make a function that checks to see if a position is already occupied by an X or O. The game just checks to see if the random pc spot is the same as that chosen by the user on their last turn. I'm trying to get …

Member Avatar for mrnutty
0
65
Member Avatar for rag84dec

HElp needed to create a windows service , to launch a simple thread created by the user. I got an article here... [url]http://www.devx.com/cplus/Article/9857/1954[/url] But how to create a thread at apropriate places , like STOP , RESUME , SHUTDOWN?.PLease give me some pointers , thanks in advance...

Member Avatar for mahela007
0
112
Member Avatar for Ancient Dragon

This shows how to get the size of all the files in a folder, and all its sub-folders on MS-Windows operating system. It uses recursion to transverse all the directories, and return a 64-bit integer. It was compiled with VC++ 2008 Express and Code::Blocks Version 8.02 with MinGW compiler.

Member Avatar for Ancient Dragon
5
5K
Member Avatar for Stefano Mtangoo

I will start with SDL_mixer to make media player I have longed to make for long now. Here my question goes. Do I need to know SDL before I can use SDL_MIXER or I can just start directly? and good tutorial for begginner? Thanks all

Member Avatar for mrnutty
0
87
Member Avatar for sman13

I need help by saving a codded file like making a internet explorer what should I do email me at <EMAIL SNIPPED>

0
54
Member Avatar for prashw

hey all.........i m new here!!!!!! I am at my wits end on this problem.....i would appreciate it if you could give any help..................................................... i managed to compile and run a C++ program that intializes and reads/writes to a serial port . I was using the Dev C++ compiler to write …

Member Avatar for Ivan85
1
7K
Member Avatar for Silvershaft

Hey I read one tutorial and tried to edit a code a little bit now I can send messages from server to client. Im wanting to shutdown process on the client computer if the buffer matches kill and it won't work. Heres code: Client: [code]#include <iostream> #include <winsock2.h> #pragma comment(lib,"ws2_32.lib") …

0
68
Member Avatar for laelzio.mosca

I finished my tic tac toe game program, I`d like to know if anyone can tell me what I need to do in order to send the .exe file to someone and make it so the file executes without problems. Thanks guys

Member Avatar for laelzio.mosca
0
109
Member Avatar for ge6a93

Hello, i'm using VC++ 6.0 and i have a problem with pressed keys in my program. When i press some key i make my program do something. For example i have a falling circle in a timer and if i press 'Z' when the circle gets coordinate Y = 500 …

Member Avatar for mrnutty
0
112
Member Avatar for cjwenigma

OK so here is a fighter game I made..except my fighters power won't decrease and I can't get my fighters names to show up....*sigh*... any idea.. My functions could be wrong.. but I always thought it went above int main().. #include<iostream> using namespace std; int fighterOne (char fighter1Attack){ string fighter1Name; …

Member Avatar for peter_budo
0
126
Member Avatar for Earendil

Today is my second day with *<Accerlerated C++>,* and so far I've read until chapter three. Below is the code written in the book and as a part of solving the chapter's exercise problem 3-0, I typed and compiled the code. (using vc++ 6.0) I assumed there would be no …

Member Avatar for Yiannis_Sp
0
270
Member Avatar for packrisamy

// Samy1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "math.h" using namespace std; int main() { float c; c = log10(100.0)* 10 ; cout<<c; int a; cin>>a; return 0; } Hi All, I tried above program in VC6, and compiled fine in both debug …

Member Avatar for Rajesh R Subram
0
139
Member Avatar for primalka

after having 10 years career - u know my age now- , I badly need a change in my career, I hope to spend 6 month learning and then look for a job. i have been working in non software but IT career over 10 years. can do self study …

0
47
Member Avatar for shishio1014

can you guys suggest a way for me to code c++ without using IDEs? a link or two could really help

Member Avatar for pspwxp fan
0
106
Member Avatar for abbel
Member Avatar for bbonik

Dear all, I am new in using Borland C++ and I face a difficult problem to solve. I would be most grateful if you gave me some advice on it. I use Borland builder 6, with winXP+SP3 I have created a dll (mydll.dll) which opens a binary file, makes some …

0
85
Member Avatar for patildh

Cause of Problem. Issue is generating from OCI API. When we select same fields multiple times in a query. then OCI API is not returning record count of same table. it is generating/adding new record into same table? i.e if MNAME with VARCHAR2(30) then in new record MNAME field value …

0
46
Member Avatar for eduard77

How can I define this algorithm to calculate the matrix that has uneven nr of rows and columns? //============================================================================== // // Linear System Solution by Gauss method // // // //============================================================================== #include <iostream> #include <stdio.h> #include <windows.h> #include <cmath> //============================================================================== void VectorPrint(int nDim, double* pfVect) { int i; printf("------------------------------------------------------------------\n"); for(i=0; …

0
72

The End.