8,298 Topics

Member Avatar for
Member Avatar for aasi007onfire

i know some basic programming in C... now C++ is a necessity for me.... i dont have any problem with syntax... my problem is i want to know what all i must study to get accustomed to C++ i.e. the concepts that C++ has and C doesn't....

Member Avatar for vijayan121
0
166
Member Avatar for tomotao

everything seems to go fine except when i get to the search. either the program runs with a runtime error ,and it cannot be excuted. [code] /***************************************************** Program Filename : post.cpp Date : May 27, 2007 Purpose : NC code convert Input from : a cls data file Output to …

Member Avatar for tomotao
0
355
Member Avatar for SelArom

okay so I'm getting started with directx and C#, but the tutorials I've found are very similar and general and I'm having trouble finding the best way to do this. Any advice is appreciated on this: I'm trying to make a grid, of varying sizes like say 10x10 or 5x5 …

Member Avatar for ~s.o.s~
-2
315
Member Avatar for nalinibh

Hello, Please do anyone among you know about c software execution optimization.. thanks

Member Avatar for Salem
0
99
Member Avatar for ss339

Hello... I would like to know if C++ is actually used in games development... I understand it's to create or update the game engine, such as say unreal, though is t used for more? thanks

Member Avatar for Salem
0
105
Member Avatar for Teresa_Hall

Hi all - First time posting so please bear with me. I'm in the last week of a C++ class and cannot figure out how to do this assignment. I need to evaluate each character of a string and process using a switch statement. The CASE processing I have no …

Member Avatar for Narue
0
238
Member Avatar for phalaris_trip

I basically need to write a program that will display all images in a directory, sequentially, and either create or open an existing corresponding text file, and allow a user to write/dictate into it. (e.g. So working in a directory containing one.tif, two.tif and three.tif, the program will open/create one.txt, …

Member Avatar for phalaris_trip
0
181
Member Avatar for harding07

on start of windows xp i get an error message: c:\WINDOWS\system32\kmggucmt.dll - the specific module could not be found, i hijacked this and my log file is: Logfile of HijackThis v1.99.1 Scan saved at 17:01:21, on 12/06/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16441) Running processes: …

Member Avatar for harding07
0
217
Member Avatar for shadowrider
Member Avatar for hunnyz
Member Avatar for Covinus

ive been trying to connect my c program and a postgre database using VC++. but i cant compile it because it cant find "postgres_fe.h". and also i cant find any tutorials about this one too. When i searched google, most are for linux. if anyone here knows some links to …

Member Avatar for ~s.o.s~
0
144
Member Avatar for nalinibh

Hi everybody, Can anyone among you let me know.how can i find execution time of an algorithm in my c coding!! thanks Nalini

Member Avatar for Ancient Dragon
0
111
Member Avatar for Dejai

Hello everyone this is my first post on this forum... Though I am a member of several. Just thought I would share some information with all the people out there who want to know more about c++ game programming. Firstly if you want to make graphical games you need something …

Member Avatar for jbennet
0
94
Member Avatar for lotsofsloths

Ok so here is my code for a practice homework at LiduidEmberS [CODE] #include <iostream> using namespace std; int main(void) { int a; int b; int c; int d; int radius; int volumeprism; volumeprism = b*c*d; int volumesphere = 1.3333333333333*3.1415926536*(radius^3); cout << "Welcome to the program!\n\n"; cout << "Do you …

Member Avatar for ndeniche
0
156
Member Avatar for Eng Dina

at fact , i donot know what is the mean of Direct X? i want some one to help me to find abook about Direct X using c#?????

Member Avatar for ~s.o.s~
0
110
Member Avatar for nalinibh

Dear All, Many thanks for the answer of my first question though i had the answer for this from one who has already put this question forward.I have modified it and it has worked.Thanks!! Now i want to optimize my coding by adding another condition so that it doesn't perform …

Member Avatar for nalinibh
0
112
Member Avatar for nedwards

I was wondering by using the Visual Studios 2005 and Windows XP could you write code in C# and add some other code in C++? What is happening is that I am updating this program that was previously made in C# and I need to add some security functionality, although …

Member Avatar for nedwards
0
140
Member Avatar for castegna

I need to do a non-recursive function for count the leafs in a tree. I have the recursive algorithm, Can someone help me to figure this out!! count leafs int count_Lnodes(root, int cnt) { if (root != NULL) { cnt = count_Lnodes(root->left, cnt); cnt = count_Lnodes(root->right, cnt); if (root->left == …

Member Avatar for Narue
0
127
Member Avatar for ongxizhe

Hey all. Sorry to embarrass myself here. I have a question to ask: What exactly is C#? Well, I know it's a programming language but how would you explain it? Does it have anything to do with C and C++? Sorry, I'm kind of novice in programming. Your help will …

Member Avatar for ongxizhe
0
324
Member Avatar for alpha_gamma

Hi all, I am working on a C++ program that converts a decimal to a fraction, finds the lowest common multiple, multiplies the numerator by the denominator, then reduces the fraction again so the fraction will be 'numerator/1'. I am using this code in a larger program to change a …

Member Avatar for iamthwee
0
484
Member Avatar for stindeee

For home work i have to do SMS in c++ ,which has to be exactly like on mobile.I dont know how to do this.

Member Avatar for WolfPack
0
90
Member Avatar for lilmiss

Create a class called [B]DateProfile[/B] that has the following private instance members: [LIST] [*][B]gender[/B] - a [B]char[/B], the gender of the applicant.('M' or 'F'). [*][B]search_gender[/B] - a [B]char[/B], the gender ('M' or 'F') of desired partner (this is not the gender of the applicant, but of the applicant's requested partner. …

Member Avatar for jwenting
0
141
Member Avatar for Aia

I posted a snippet of code in the c programming forum and like always I used the [code=C] tagging form, however the code did not show properly. Here's a snap-shot of that particular occasion.

Member Avatar for joshSCH
0
140
Member Avatar for bRutal!

Hello I'm just wondering what kind of practice do I need, because I'm ending with C++ and moving to c#. What do I need to be prepared most and what is the hardest part of learning C# from beggining yours sincerely ! thanks :)

Member Avatar for bRutal!
0
100
Member Avatar for ShawnMuller

Hi, I have a problem that happens very rarely. I have a calculation which ads (for example) -15000.00 to 15575.51 and saves the results to an oracle database. However, the reslut in the databse is 575.51000002 Both figures are loaded elsewhere from the database and either have 0 or 2 …

Member Avatar for ShawnMuller
0
99
Member Avatar for bRutal!

Hi, I have a question 'bout c++ beep...It's very simple...Where can I find Music Scales for C++ ? I've searched google up'n'down without succes...thanks for any help :?:

Member Avatar for bRutal!
0
168
Member Avatar for Sturm

Hello, I am doing a homework assignment and need a bit of help. I have to overload the prefix ++, postfix ++ operator, and the = operator for a circle class. Heres the code I have so far: [code] #include<iostream> using namespace std; class Circle { public: Circle(); Circle(int n); …

Member Avatar for Sturm
0
213
Member Avatar for BaluTheWiz
Member Avatar for BaluTheWiz
0
144
Member Avatar for Ahmed Padela

Please help me to Write a program "to print the sum of the main and sub diagonal elements" Thanks all.

Member Avatar for Ahmed Padela
0
215
Member Avatar for radskate360

Hi all I had made a post a bit ago and had a few responces, they all really helped and I got past that part so wanted to just finish up and needed a bit more assistance so far I have everything i need outputing to the window with cout<< …

Member Avatar for Ancient Dragon
0
101
Member Avatar for radskate360

IF anyone can give me a little more assistance I would be very greatful. I am working on this program for my C++ class and here is how it goes. Directions. Write a program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after …

Member Avatar for Narue
-1
671
Member Avatar for m.s

Hi there, I'm a first time poster and first year C programming student. I am a little stuck on the following question: ----------------------------------------------------------------------------- "Conway's life is a special kind of game. It isn't really a game - just a spectator sport. It is played on a chess board, where each …

Member Avatar for m.s
0
199
Member Avatar for Barefootsanders

Hey everyone. I have some work I have to get done for work and it involves ASP, .NET, SQL, and C# being developed on MS Visual Studio 2003. I was wondering if anyone had any resources out there for VS 2003? Mostly everything I find is for 2005 and we …

Member Avatar for Barefootsanders
0
113
Member Avatar for hitman31
Member Avatar for afflictedd2

Hi, I'm wondering how to give a map a fixed size like you can give an array a fixed size by just "byte data[SIZE*DATASIZE]".. or if it's possible anybody know.. struct Table { map<int, int> table; // }; struct Table *flightChart; The reason I have to give this a fixed …

Member Avatar for vijayan121
0
119
Member Avatar for emg70

pls help just started learning c++ and cant get my head around how to do this: write prog for data logger which records one reading per day at a specific time for 5 days.the logger records in the format:n1805071500 the first letter preceding the numbers can mean one of below …

Member Avatar for iamthwee
0
122
Member Avatar for squinx22

How would I create a desktop launcher of my application? I am using ubuntu.. All I want is to compile the program using Makefile and during the compilation it will then create a desktop launcher automatically. thank you...

0
50
Member Avatar for squinx22

Gud day, Suppose I have these files: hello.h hello.cpp main.cpp in what directory will I put the hello.o and hello.hpp so that I will only type $ g++ main.cpp -o main not, $ g++ main.cpp hello.cpp -I. -o main.cpp in the terminal.. thanks.... I will highly appreciate youre response....

Member Avatar for squinx22
0
100
Member Avatar for hackerbox

i have problem that i could not solve it.. here is the problem [URL]http://ceng.metu.edu.tr/~bozyigit/cng140/hw.html[/URL] HOMEWORK 3

Member Avatar for Ancient Dragon
0
39
Member Avatar for rockthrower

Hello, I am trying to read data from a text file in the following format: 05 mike smith 30.00 2 1 so the format is: int, character[21] = max size of array, double, int, int I am trying to read the values into an array of objects. I can read …

Member Avatar for WaltP
0
245
Member Avatar for MarcosEdu

Hi guys, I startin the project of a (web) server in c++ and i want to able to manage about 1000-2000 clients. I have been reading alot about Single-thread VS Multi-thread server and i wanna know what u guys think about it. I do not plan on using one-thread-per-client because …

Member Avatar for MarcosEdu
0
317
Member Avatar for sadhanasingh

i am a beginner we are making a website during registration process i faced this problem that i am posting below please help error is:- System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003) at P3ADMINLib.P3DomainsClass.get_Item(Object vIndex) at register.AddPop3User(String MachineName, String DomainName, String UserName, String Password) in …

Member Avatar for prodigygroup
0
111
Member Avatar for kylcrow

Hi again everyone. I'm having a problem with some code I am writing. I need to take an input file change what is on it, then print out to the screen. What I want to change in the file is re-formatting it so that there is Last name First name …

Member Avatar for kylcrow
0
130
Member Avatar for satyanarayanam

Hi to one and all, this is satya, I few doubts in c those are, All are linux based, 1) How we can convert physical address to virtual adress and vice-versa,for this any linux system call. 2)How a float will store in binary format. 3)what the use of constant volataile.

Member Avatar for thekashyap
0
120
Member Avatar for SelArom

hi, I have been trying to get into C++ for a while now. My background is in VB.net. I do have experience programming with C++ (and some C) through my classes, but nothing complex... the biggest thing that I seem to be having trouble comprehending is how data access is …

Member Avatar for ~s.o.s~
0
177
Member Avatar for Assemblyn00b

Basically I have to take in N and bring it to power of K so N^K i have the c++ i have the basic assembly but something is wrong the math doesn't come out right .386p .model flat .code _func proc near push ebp mov ebp, esp mov eax, [ebp+12] …

Member Avatar for Assemblyn00b
0
168
Member Avatar for jaeSun

im compiling a basic sorting algorithm that utilizies POSIX threads (pthreads) .... everything was compiling fine, until i put the thread implementation in .... all of a sudden, it gives me this: [code]-bash-2.05b$ gcc project4a.c -lpthreads project4a.c: In function `main': project4a.c:32: subscripted value is neither array nor pointer project4a.c:33: subscripted …

Member Avatar for ~s.o.s~
1
1K
Member Avatar for brightmohan

Hello Geeks! I have tried real hard trying to figure out the solution for why the getchar() and fputs() arent working in my program. I have already wasted so much time thinking and debugging about it and here I am after registering wid DANIWEB for the first time. I will …

Member Avatar for brightmohan
0
389
Member Avatar for iTaChi

Hello, I want to know where to start in software programming in C and C++, I know their basics, i can write programs of mathematical solutions, but, can you please help me, adjust to a higher level, like software programming, Thank You Guys!!

Member Avatar for Narue
0
149
Member Avatar for squinx22

Anyone here who uses wxWidgets? I am a newbie in wxWidgets. I have trouble in inserting an image in my application.. I am using this one: wxImage *img; img=new wxImage("pic.jpeg",wxBITMAP_TYPR_ANY,-1); this code is erotic. What would you suggest? Thanx..

Member Avatar for ~s.o.s~
0
78

The End.