49,761 Topics
| |
haiiiiiii i need a compiler for c++ om windows i.e. not for beginars. Regard's Balu | |
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 … | |
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 … | |
Please tell me how to create a multi diminsional array using pointer(dynamic array, set size at run time). | |
| |
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 … | |
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 | |
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? … | |
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 … | |
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 … | |
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] | |
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: … | |
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? | |
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. • … | |
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 | |
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++ … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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() … | |
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 … | |
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. |
The End.