49,761 Topics
| |
Hello. Ok, so for this program I have to read in an html file, gather all html tags ( ie: <html> <font> </i> etc.. ) and add them to a queue in which they will be printed out later. Opening the the file is easy, it's after that I'm a … | |
[COLOR=black]hi again!! I did this question:[/COLOR] [COLOR=black]Create a class responsible for determining whether a string is a palindrome. [/COLOR] [COLOR=#000000]I did the code. but i have some errors that i dont know how to fix.[/COLOR] [COLOR=#000000]these are the errors:[/COLOR] [COLOR=#000000]1- syntax error before `)' token [/COLOR] [COLOR=#000000]2- syntax error before … | |
If I create a class called "tree" and inherit from it to classes called "elm" and "oak", can I, using all three header files, create a vector <tree> and use push_back to add an "elm" and an "oak" to that vector? | |
Hi everyone, Im trying to solve this question: write a C++ program to find a given word in a file. It should display all the line numbers where the word occurs. this is the code that i did so far, the problem is it wont display all the right line … | |
I NEED HELP ABOUT C++, PLEASE SEND ME THE CODE IF YOU INPUT A NUMBER IT WILL GENERATE IF IT IS A PRIME NUMBER OR IF IT IS NOT A PRIME NUMBER IT WILL DISPLAY THE CORRESPONDING FIBONACCI. THE OTHER IS ACTUALLY BASIC IF YOU INPUT 6 NUMBER, IT WILL … | |
im a chem major and im required to take c++.. i learned some basic stuff (floating point/2s comp systems, basic programming) but im iffy on whether im getting a C or not.. our instructor gave us a bonus assignment but its super complicated and beyond what i understand.. can anybody … | |
Hello all, I am hopeing someone can help me out on this, Yes this is homework and i have been trying to figure it out for the past couple of days and it is due tonihgt, the teacher wont really help any of us.We need to write a program in … | |
Hey all, newbie programmer here and looking for some help. I have to search for the 3 smallest integers and 3 largest in my 3x3x3 array. I have it loaded with random numbers already. However, I am not allowed to use any kind of sorting, (bubble, insertion). [code=php] #include <iostream> … | |
My problem is when my board displays it shows 2's. My enum Player is not working or I just don't understand enum. It is displaying 0,1,2 instead of X, O, and empty. It is also not changing players, again tied to the enum problem I'm sure. Any help would be … | |
| I have put a tutorial on how to make a C++ Hello World application on my website! :cheesy: [u][color=#0066cc][url="http://www.keefe-interactive.com/community/viewtopic.php?t=3"]http://www.keefe-interactive.com/community/viewtopic.php?t=3[/url][/color][/u] enjoy! :cheesy: |
[B]I am working on an exercise given in class. I have managed to do most of it but I a a bit stuck on the permutation part. Here is what is required of me:[/B] Subject: Transformers An ideal electrical transformer has an input voltage and current, Vin, Iin and an … | |
I've been asked to create a movie data baseusing a hash table (w/ linked-list collision resolution) and a BST. Both of them contain a field that points a given structure (we'll call it *pMovie and its of type MOVIE) in memory. For example, if i'm going to insert "The Matrix" … | |
Ok I have gotten myself started and seem to be COMPLETELY lost from here. I just have no clue as to how to finish this program I've tried but don't know where to go from here. Any suggestions would be greatly appreciated. I am supposed to write a program that … | |
Hi I have been trying to get this code for about a week now its due shortly and I still can't get it. The instructions are to 1.Write a structure definition Sneakers that records a one character code fot the manufacture (N for Nike, R for Reebock, ect), an interger … | |
Constructors are a- automatically called when your main() program instantiates an object b- typically used to initialize an objects' data members c- both a & b d- none [B]c?[/B] If the programmer does not explicitly define at least one constructor for a class a- a compiler error will occur b- … | |
Hi, I've got a "Segmentation Fault" error in C++ when trying to allocate a vector with a dimension of 2 million. I'm using the library "memory.h" Any help is welcome willy | |
Hi, everybody! I have studied C++ OOP And now I begin studying OOP with VB.net I want to know OOP in VB.net diferent from OOP in C++ Please give me some document Tks a lot! | |
Hi, currently I'm doing a program that needs to load data packets under HTTP and telnet protocol intercepted and stored in a database, then display the data interpreted. I wonder if there are some existing control/component or something that can do the HTTP/telnet protocol interpretation in VC++? Thanks a lot! | |
[COLOR=black] Hi, this is officially my first post on this website. I hope this goes well.. I am currently in a data structures class and I need to write a program with the idea of sparce matrices. From what I gather, in a matrix of values there sometimes is a … | |
| |
do any1 knows how to get the client IP 4rm a c++ server application using | |
[b]True and False[/b] The backbone of computer science is logic. Most often, those with logical minds make the best programmers. Hence, a very important programming concept is that of boolean algebra. A boolean expression is a true or false statement. In the world of computers, a true statement is represented … | |
Alright, my program is giving me some serious problems. I think I have a memory leak, but I shouldn't have any. I have [inlinecode]ifstream In;[/inlinecode], followed by [inlinecode]In.open(thefile.c_str());[/inlinecode], a series of [inlinecode]In.get( tempChar );[/inlinecode]s, then at the end of the function I have [inlinecode]In.close();[/inlinecode]. The problem was that it was … | |
| |
Im really trying to do this c++ stuff and I need someone to really help me. My yahoo is eyestolethis. If someone could please come on yahoo and message me and try to help me that would be great. I have the code already written for the program I created, … | |
If anyone has the time or inclination, I'd be interested to hear what others think of [url=http://www.openwatcom.org/ftp/]Open Watcom C++[/url]. Unlike DevC++ it's still under development so it may be a better compiler for those that can't/won't purchase one. I just downloaded it myself so it'll be a while before I … | |
hi everyone, how can I make a shared memory using c or c++ under windows not unix? thanx in advance | |
I am trying to write a program that allows the user to enter an ID number, and then the program opens a txt file with the ID information, but the ifstream part isnt working, I know its because I put a variable in, but I dont know how to make … | |
So I developed this code so that I would have a program that can randomly generate a DNA sequence. These are my questions: 1) how can i get the random number sequence to develop in a string? 2) how can i then multiplate the string so that the "A"s are … | |
Okay, just got into linux, and how does one go about doing C++ development in linux? Can one just use 'vi' to edit text, and then call the g++ compiler? Or does Debian come with a c++ environment? I did find a good IDE, Dev-C++ for linux, but it was … |
The End.