49,761 Topics

Member Avatar for
Member Avatar for balu naik

haiiiiiii i need a compiler for c++ om windows i.e. not for beginars. Regard's Balu

Member Avatar for Ancient Dragon
0
158
Member Avatar for mario20055

HI Team, First of all, I'm new to C++, so my knowlege is like 2% and I would like to thank you for any help provided. Well I'm working on a project that looks like this: -- I'm creating an executalble (EXE) that will monitor and create a file into …

Member Avatar for mario20055
0
2K
Member Avatar for _dragonwolf_

This is still the readStuData(ifstream &rss, int scores[], int id[], int &count, bool &tooMany) assignment. I've hit a small snag. This piece of the code works....kind of. When the program is run it prints out the table and stuff, however, when printing the grade it doesn't do it correctly. If …

Member Avatar for _dragonwolf_
0
116
Member Avatar for thilinam

Please tell me how to create a multi diminsional array using pointer(dynamic array, set size at run time).

Member Avatar for Ancient Dragon
0
154
Member Avatar for member9
Member Avatar for Ancient Dragon
-1
111
Member Avatar for ermithun

I have written a sample code, [code=syntax] class A { public: void func1(X *ptr); }; class B { public: void func2(X **ptr); }; void A::funct1(X *ptr) { //some code here } void B::funct2(X **ptr) { //some code here X *ptr; *ptr->func1(*ptr); } main() { B Bobj; X **ptr; Bobj.funct2(**ptr); return …

Member Avatar for daviddoria
0
91
Member Avatar for balu naik

hai i am working with a small project on files. the program is compiled but when i am excuting than i am getting linker error i.e [Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status Regard's balu

Member Avatar for balu naik
0
137
Member Avatar for makymakaru

hello.. i need to create a simple web proxy where it can pass data and requests between a web client and a web server. thing is i'm very new to this kind of programming but i really want to learn. if i want to do this where do i start? …

Member Avatar for kvprajapati
0
244
Member Avatar for ermithun

I have written a sample test code as, [code=syntax] Class A { main () { A *a; B *ptr; B* A::func() const { [COLOR="Green"] B* ptr = new B; return B; [/COLOR] } } [/code] and [code=syntax] Class B { [COLOR="Green"] // some code accessing the func() in class A …

Member Avatar for ermithun
0
99
Member Avatar for muhandis

I'm having some of trouble understanding exactly how an MFC GUI works. What is the resource file for and exactly how does it relate to the classes you create (e.g. the subclass of CDialog)? Specifically, I want to add some bitmap buttons (CBitmapButton) to my dialog, so I followed the …

Member Avatar for muhandis
0
223
Member Avatar for azjherben

I have done alot of stuff with Winsock, but it's all with sockets that can olni process one at a time. Can anyone tell me how to make a non-blocking socket? [send and recive]

Member Avatar for Nick Evan
0
175
Member Avatar for _dragonwolf_

My name is James. I am currently taking a c++ class and I have a professor that is less than desirable but is the only one that is teaching the class. I am in need of assistance with some code. At least getting it started anyway. Here is the assignment: …

Member Avatar for jephthah
0
120
Member Avatar for codedhands

Hi,Am writing an application which requires storing data to a map and saving it to a file.How do i save a STL map to a file and retrieve it without the application crashing?

Member Avatar for siddhant3s
0
844
Member Avatar for joed13k1941

Anyone know how to accomplish this task on visual studio with C++? Write a program that reads a series of numbers (doubles) from the user, then prints the mean and the range. Notes: • You do not know ahead of time how many numbers will be in the list. • …

Member Avatar for collegetextbook
0
300
Member Avatar for doublebond

Hi Guys, I want to read a huge file which contains address bits, data bits and instruction bits. Please let me know how to do this. Cheers, Bond

Member Avatar for doublebond
0
456
Member Avatar for come_again

Hello everyone, I am a student working on interfacing a firewire camera with a linux machine. I am able to successfully compile my files (timer.cpp and test_timer.cpp) (they are called timers because i am testing the latency of the camera). Anyways, my problem is that I first type in: g++ …

Member Avatar for come_again
0
2K
Member Avatar for dospy

i have GHostOne advanced remote host bot last version but i have some problems edditting it. when i try to compile game.cpp (edited by me) gives me a lot of errors that i cannot solv (compile.txt file) anyway...i cannot even compile the originat cpp file cuz he gives me a …

Member Avatar for dospy
0
245
Member Avatar for goody11

I was working on an application where I have a listbox receive info. I then want the info to save to a txt file if the save button is clicked and I want it to load if the load button is clicked. I'm not sure on how to go about …

0
96
Member Avatar for sgw

I ran the following simple program [B]10 minutes ago and it worked as expected[/B], i.e. it took input "monster" which contained spaces. [B]But few minutes later[/B] I copied the program exactly the same to save as a new program, and [B]it doesn't take the spaces in "monster" input any more[/B]--if …

Member Avatar for tux4life
0
170
Member Avatar for walter clark

For a CLR type program in Visual C++, I need to record the file date of the version of the program being run. That seems like a very normal thing to do but I can't find a solution (that works) on the web. I'm able to read the date of …

Member Avatar for walter clark
0
129
Member Avatar for makymakaru

so i finally got the server.c program to run in linux environment i was elated to start the client.c program it turned out that there would be another problem. below codes are the codes of client program i compiled it and it produced an exe but there is a warning …

Member Avatar for tux4life
0
107
Member Avatar for metzenes

I'm designing a class where there's a method that should return a different data type depending on certain circunstances. Specifically, I'm reading from a text file. If the data found are strings of characters, I'd like to return a vector of strings. On the other hand, I'd like to return …

Member Avatar for daviddoria
0
102
Member Avatar for peterbrowse

Hi I'm new to MSVC. I've entered a program into the IDE and it's compiled successfully, but no executable is generated and when I hit CTRL&F5 I get a dialogue window asking me for an executable filename, which when I try to enter it won't accept .. any thoughts Peter

Member Avatar for daviddoria
0
103
Member Avatar for salie_90

i need help please...i ask, to make a program that accepts a positive integers and displays all odd number between 1 to the integer entered (inclusive) accept the integer in main() and use a recursive function to identify and display the odd numbers. tnx..salie

Member Avatar for tux4life
0
347
Member Avatar for makymakaru

hi.. i'm very new in this programming thing but i need to make this hello world program work in windows and linux environment. thing is i encoded the program below and i used cygwin and andlinux to compile and i still get i think some errors. I'm lost.. really i …

Member Avatar for makymakaru
0
180
Member Avatar for caquake

I am trying to create a program that uses nested loops to create a box. Only one of the overloaded functions need the details of nested loops.. the other 3 should call the one that has the details.. my problem is the last function and the for nested loops. Here …

Member Avatar for shadwickman
0
396
Member Avatar for goody11

I was working on a program for spanish where I want to input the spanish and english and then the programputs the words in 2 listboxes when "ADD" is clicked. Here is my code and it does compile so you can kind of get an idea of what I want …

Member Avatar for goody11
0
207
Member Avatar for lotrsimp12345

it needs to make sure numbers aren't duplicate and are ordered. maybe change my cout statements to arrays? Thanks. This is what program is supposed to do input Q 1,2,3-5,6-7 output do problem 1,2,3,4,5,6,7 of Q. [code] #include <iostream> #include <cstdlib> #include <sstream> #include <string> using namespace std; int main() …

Member Avatar for kvprajapati
0
102
Member Avatar for mexx

I am trying to read a file which contains URLs and are 100 million in number. What I need to do is find out the different websites they are from. So, I am taking chunk of data in memory and reading it line by line. Also, I need to find …

Member Avatar for zdeepblue
0
315
Member Avatar for BretFelix

I have a program and I want to create a function that sorts multiple [B]lines[/B]. The lines are like this: lastName,firstName,gender,studentNumber I want to sort them by LINES, not individual words. Any thoughts? This is for a school project.

Member Avatar for MosaicFuneral
0
2K

The End.