51,593 Topics

Member Avatar for
Member Avatar for numerouno543

Hi.. Can someone please tell me how to send a HTTP request through a C/C++ program?? Thanks.

0
56
Member Avatar for numerouno543

Hello... How can I check whether My computer is connected to the INternet or not using a C++ program.. I am using VC++ compiler......and OS is WinXP.. bye.

0
65
Member Avatar for JoBe

Hello ladies and gents, I'm trying to output a 2D array, but can't seem to find the solution, can anyone help me out here. [code] #include <stdafx.h> #include <iostream> using namespace std; int main() { int **pp; int i, j, n, ni; cout<<"Geef het aantal regels als volgt: "; cin>> …

Member Avatar for JoBe
0
586
Member Avatar for shahid

My program does take the inputs from user and does not given required results and also does not check the employee is a manger or programmer. Please some one check my code and correct it or write a better coding for this program. Code and program details is given below.Thanks. …

0
76
Member Avatar for yaan

I've gotten feedback from my instructor to modify my code because it contains poor design techniques. I need to add a " return " after each function without it going back to " main " and also to avoid the use of global headers. I've tried to modify it several …

Member Avatar for BruceWilson512
0
181
Member Avatar for shahid

I write a C++ program, which stores the information about of the company’s employees. First I create a class named as Employee having following attributes. 1: id 2:name 3: sal 4: address Take input of all the four attributes from the user using four different setter functions. Class has following …

Member Avatar for BruceWilson512
0
113
Member Avatar for akshayabc

I am using borland C++ compiler ver-3.0 for running C & in that range of char type is -127 to 127. Q1 In C, characters have ASCII codes in range 0-255. How can we print characters having ASCII code from 128-255. printf("%c",(unsigned)129); //it will still print the char having ASCII …

Member Avatar for Dave Sinkula
0
132
Member Avatar for oRg

Hi, I'm fairly new to C++. I've taken a class on it at a university but it really only went through the basic I/O, data structures, classes, and pointers. It wasn't very algorithm oriented. It was all very basic. Here's the problem a friend of mine needed help with his …

Member Avatar for oRg
0
444
Member Avatar for Dani

[font=Arial][b]Creating Executables[/b] Of course, the software on your computer isn't all a bunch of code in a high level language, at least not in the form you receive it in. Before you can run any programs which are written in C++ or Java, they must be compiled. Compiling is the …

Member Avatar for tamilblast
0
732
Member Avatar for NejiHyuuga

I need help organizing my program. In other words it need to be in a list. Example: [code]Degree Sin cos tan[/code] when it compiles the output is together: [code]DegreeSincostan0.000.3045[/code]...you get the idea. I need it to be organized. Where would i need to but a character for it to list …

Member Avatar for Dave Sinkula
0
141
Member Avatar for sunderam

HI, I have a vc++ project with all its files which includes -header files,& .dll files. I want to export these files to a unix system. i am sure i can do that, but i am looking for equivalent method for aligned aligned_malloc() in unix. aligned_malloc() is a vc++/windows method …

0
87
Member Avatar for evilsilver

<< moderator edit: split from [post=125942]this thread[/post] >> hey i got a question for you, how did you get the icon associated with your program? I have been looking for a way to do this, inside or outside the code.

Member Avatar for Electrohead
0
94
Member Avatar for curvan

Plz..................Have some one know how to use the C++ to solve the Map-Cloring problem using Hill-Climbing Algorithm>? mean; I need to develop a program to solve the Map-Cloring problem using Hill-Climbing Algorithm...This regarding the AI method... :cry:

0
69
Member Avatar for unirs_1972

Hi everyone I am new to C++ and I have read abt copy constructors from a C++ book but could not exactly get the concept. Can you please provide me with examples of when and how copy constructors are used.. Thanks in advance.....

Member Avatar for e215774
0
127
Member Avatar for gpta_varun

Hi All Can anyone plz suggest me a good site with C/C++ questions . I need them for an interview / test Thnx Varun

Member Avatar for indianscorpion2
0
155
Member Avatar for djbsabkcb

I have to write a program that reads in playing card values and translates them to the correct output. For example if a user enters:QS then the output would be a queen of spades. I am using a switch statement but how can I read the second character. Right now …

Member Avatar for djbsabkcb
0
286
Member Avatar for kreitcher

[COLOR=DarkRed][FONT=Courier New]Hi guys. I need to create a GUI in C++ and so I would like to know if some packages like GTK are available for windows. I did go to the GTK website but I swear I was lost! I really didn't know which files to download. I really …

Member Avatar for yeohhs
0
457
Member Avatar for karimkabbani

Hi... im kinda new to c++ but here goes. i made a class called team and one called game. i also made dynamic arrays of each. i figured out how to calculate number of games considering the number of teams. 3 teams, 3 games- 4 teams,6games- 5t,10g - 6t,15g- etc... …

Member Avatar for Dave Sinkula
0
230
Member Avatar for mlane

Okay im thinking of starting up a game! I want it to be 2D, so I think I'll be using Direct3D considering DirectDraw is outdated. I've been reading up and trying to learn a bit about DirectMusic, Direct3D, DirectInput, etc. and I've noticed I don't have DirectMusic! I have the …

Member Avatar for reddag426
0
129
Member Avatar for rehab

i am like a begginner in that(i need real help),i am having a project to do with c++ code ,and it's all done,but a bonus is given if we interface the programme. i only know visual basic ,and i was told that it's possible to use visual basic with c++ …

0
59
Member Avatar for loki73

I am trying to do a simple program, rather 3 simple programs that involve class structures in Visual Studio C++ .net 2003. I can compile them by themselves without errors. But when I F5 through them I get the following errors: 'test-proj.exe': Loaded 'C:\Documents and Settings\loki\My Documents\work\prog2\test-proj\Debug\test-proj.exe', Symbols loaded. 'test-proj.exe': …

Member Avatar for Dave Sinkula
0
229
Member Avatar for NejiHyuuga

I am making a list of trig functions by increments of 10 degrees and I dont have a complier. [code]include <iostream.h> #include <math.h> void main float degrees, Sin, Cos, Tan; cout << "Enter a number of degrees: "; cin >> degrees; cos = cos(degrees*180/3.14); cout << "Cosine: " << cosine …

Member Avatar for Dogtree
0
133
Member Avatar for Jeannie

I'm pretty new at C++ and I have a problem with a program that opens a file with a list of numbers and finds the median. My problem is, no matter what numbers are in the file, it always says the median is 1. I've been able to tell it …

Member Avatar for Dogtree
0
161
Member Avatar for mmiscool

If you would like to help in makin a basic interperter in C or C++ please send me an emai @ [email]mmiscool@[nospam]gamil.com[/email] remove "[nospam]" when emailing This project has a source fordge page and will hopefuly grow once some good programers join. I my self am no perficent in C …

Member Avatar for crazypitukillo
0
168
Member Avatar for alfa2

Please Check at this video I created So you can see what I did wrong LINK [url]http://www.freewebtown.com/pcgamers/index-flash.htm[/url] and go to the Download Section and Download My Second Error ! ! If the download doesn't appear Please Refresh the website of the download. Thanks for the Help :mrgreen:

Member Avatar for alfa2
0
209
Member Avatar for johnroach1985

Hi i am re-studying C.So I just wanted to do a simple calculator program.I am using dev-c++ anyways the code is below please help. [CODE] #include <stdio.h> #include <conio.h> /*its a simple program that after getting the numbers from the user and inputs the operation*/ int main() { int i=0; …

Member Avatar for johnroach1985
0
200
Member Avatar for Rodan

Hello World! (I couldn't resist that one...sorry :mrgreen: ) I am new to the boards and to programing in C/C++ over all. I hae tried for about 5 years to learn this code, but I was never really serious about it until the past week. Since this last week, I …

Member Avatar for Dave Sinkula
0
200
Member Avatar for nyyrule

This is the project that my teacher assigned for me The local baseball team is computerizing its records. You are to write a program using arrays that computes batting averages. There are 20 players on the team, identified by the numbers 1 to 20. Their batting records are encoded in …

Member Avatar for Rodan
0
156
Member Avatar for ocw

hi.. currently i have two image in my folder, how can i compare the two images for different based on the image pixel? or is there any other way which i could use to determined if the images are identical? (both images have the same size and resolution.) thus i …

Member Avatar for WolfPack
0
144
Member Avatar for Robert G

Passing Class Objects, Instances -------------------------------------------------------------------------------- I have a project creating a cartesian point, then a line segment, then a line comparison. Each has its own class .h and .cpp file. Main just starts the program to CartesianPoint test, in the point class. My question is after I create an instance …

Member Avatar for Dogtree
0
117
Member Avatar for crestaldin

:p [FONT=Comic Sans MS][COLOR=RoyalBlue]Hello , Ps I need someone to direct me to any site where I can get some challenging programming tasks that will enable me develop my C++ programming skills. I'm tired of reading books and tutorials and need to lay my hands on something practical this summer. …

Member Avatar for mmiscool
0
257
Member Avatar for Narue

Since C and C++ are different languages, would it benefit Daniweb to split the C/C++ forum into separate C and C++ forums?

Member Avatar for Electrohead
0
609
Member Avatar for elek

hey guys i did this program and its not working it worked for a while and then stopped so would someone please tell me whats wrong with it cause i have to do it soon. #include <conio.h> #include <stdio.h> #include <stdlib.h> void main() { char sentence[50]; int vowel_a; int vowel_e; …

Member Avatar for elek
0
183
Member Avatar for drock9975

I'm new to the forum as I've been surfing around for some previously posted help, but I just can't find it. So if anyone can help it would be greatly appreciated. I'm new to C++ and programming in general and I'm compiling on Microsoft Visual Studio .Net 2003. For a …

Member Avatar for drock9975
0
110
Member Avatar for elek

hey guys i got a problem with my program i cant get it to work properly. The question is: [COLOR=Purple]Write a C/C++ program to count the vowels and letters from the keyboard (maximum 50 characters). The string may contain spaces. Then it prints out the number of occurrences of each …

Member Avatar for elek
0
113
Member Avatar for NejiHyuuga

I am having a bit of trouble, in class I am using Turbo C++ in which I can copile my code so it can become a executable file. Problem is the professor gave us a source to use but the program isnt Turbo C++ it is Microsoft Devlopment Enviroment. Iam …

Member Avatar for WolfPack
0
94
Member Avatar for Raza

:o hello e/o.. im Raza..i hav a project to make small operating system... i have completed my boot and kernel work in assembly...with the help of emulator8086...there is output showing after booting from floppy but now i have to link that kernel with C++ program to show some output on …

Member Avatar for Wokr
0
222
Member Avatar for Blip

Hi I've bee trying and failing to use Visual Studio's C++ 6.0 to send and recieve data via my serial RS232 port. I have been informed previously that I need to use the Win32 API but not how to use it. I am trying to convert my code from a …

Member Avatar for Blip
0
226
Member Avatar for trafficman

Hi, i need a software which crawl the web and extract emails uppon on keywords, has anyone tried a good solution, for free and also not for free ? :?:

Member Avatar for trafficman
0
116
Member Avatar for myprecious

Hi. Im doing a c++ course. And we are doing a assignment to do with I/O File streams. We are using struct. I can add, update, print, and search for records. Now, I need help to read data into an array and sort the array on any one field and …

Member Avatar for myprecious
1
118
Member Avatar for nyyrule

// This is what I have so far, could you guys help me and give me tips on how to fix the Process. I don't know if i'm using the correct kind of loop or not. I am using C++. Its' supposed to read the files in from a .txt …

Member Avatar for Dave Sinkula
0
97
Member Avatar for winbatch

I am trying to write a template function that attempts to convert anything into a long. .h [code] class General { public: static void delay( int seconds ); template <typename Generic> static long ToLong( Generic source ); template <typename Generic> static double ToDouble( Generic source ); template <typename Generic> static …

Member Avatar for winbatch
0
182
Member Avatar for white_eyez

Now we are doing pseudocode and looping.On my assignment I believe i should do a sentinel controlled loop? But i really don't know.It says this: Develop an MC++ application that will determine if a department store customer has exceeded the limit on a charge account.For each customer,the following facts are …

Member Avatar for Dave Sinkula
0
81
Member Avatar for TimC

Winbatch, I have another Q for you. I have the whole project compiling but I am stuck with displaying all the Customer details from the Q. I can pass the Class Object "Tim" to the Queue with various details but I need to write these to a file when I …

Member Avatar for winbatch
0
140
Member Avatar for gpta_varun

Hi All I am relatively new to the C++ world . Facing some problem , while initializing an array of objects . Suppose i have a class Rectangle . I want to have a pointer to an array of objects to the class . How do i invoke the Class …

Member Avatar for gpta_varun
0
7K
Member Avatar for maldini

Hi Guys, I am writting some c++ code. And need to use the directx library to render images to the screen. For those you don't have a CPU speed problem(like I have) you can render jpegs images onto the screen in real time with Ipicture class. However I have a …

0
133
Member Avatar for Greenthumb

Hi there everyone. I was hoping you guys could help me out again. I would like to write a setting to a certain line in a textdocument, for example "4000" at line 5 of the document. So far i have this: [CODE]void MainSettings::setSettingsToFile(String *numChannels, String *savePath, String *playlistPath) // Here …

Member Avatar for Dogtree
0
217
Member Avatar for student113

hay i need to build a simple program in C# or C++ about robot that need to find the short and optimal way from one point to other on ground that have just 3 obstacle that look like rectangle or 2 rectangles connected . how can i insert in AI …

Member Avatar for Dani
0
171
Member Avatar for maherddd

this is an example of what is happening consider the program: #include<iostream.h> void main(void) { double x=2.3767553235; cout<<x<<endl; } when i compile it the output is only giving 2.37676 Why? I dont want only 5 decimal places,plz someone tell me why is this happening. i want it to be say …

Member Avatar for Dogtree
0
463
Member Avatar for amt_muk

Hi All, I am facing a problem with new line character (\n). When I am initializing a string variable with a string having a new line character, e.g., [code] char str[20] = “Programming is \nfun

Member Avatar for Dave Sinkula
0
101

The End.