49,761 Topics

Member Avatar for
Member Avatar for Savage221

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 …

Member Avatar for Savage221
0
86
Member Avatar for itchap

[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 …

Member Avatar for itchap
0
170
Member Avatar for venomlash

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?

Member Avatar for Narue
0
93
Member Avatar for itchap

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 …

Member Avatar for itchap
0
196
Member Avatar for fortis

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 …

Member Avatar for yamurthy
0
83
Member Avatar for barnyard0581

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 …

Member Avatar for barnyard0581
0
126
Member Avatar for 927mgtepat

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 …

Member Avatar for John A
0
93
Member Avatar for clevername

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> …

Member Avatar for clevername
0
136
Member Avatar for rocky888

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 …

Member Avatar for ~s.o.s~
0
93
Member Avatar for Electrohead

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:

Member Avatar for Narue
0
179
Member Avatar for Tkassis

[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 …

0
64
Member Avatar for degamer106

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" …

Member Avatar for Narue
0
133
Member Avatar for newbie2c++

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 …

Member Avatar for Ancient Dragon
0
178
Member Avatar for Bardongg00

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 …

Member Avatar for John A
0
140
Member Avatar for egmik3

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- …

Member Avatar for John A
0
117
Member Avatar for willy2511

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

Member Avatar for Salem
0
102
Member Avatar for iamiceberg

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!

Member Avatar for Ancient Dragon
0
48
Member Avatar for yeya

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!

0
58
Member Avatar for vangheem

[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 …

Member Avatar for vangheem
0
93
Member Avatar for rxgmoral
Member Avatar for matika

do any1 knows how to get the client IP 4rm a c++ server application using

Member Avatar for John A
0
85
Member Avatar for Dani

[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 …

Member Avatar for lol_hacker101
0
1K
Member Avatar for FireSBurnsmuP

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 …

Member Avatar for FireSBurnsmuP
0
141
Member Avatar for batcholy
Member Avatar for Dani
0
33
Member Avatar for chubbywubba

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, …

Member Avatar for John A
0
151
Member Avatar for WaltP

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 …

Member Avatar for jbennet
0
137
Member Avatar for chicoo

hi everyone, how can I make a shared memory using c or c++ under windows not unix? thanx in advance

Member Avatar for ~s.o.s~
0
84
Member Avatar for Firestone

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 …

Member Avatar for Ancient Dragon
0
86
Member Avatar for fafarfa

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 …

Member Avatar for WaltP
0
113
Member Avatar for FireSBurnsmuP

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 …

Member Avatar for FireSBurnsmuP
0
246

The End.