General C++ Programming - September 2011 (Page 16)

Issue getting information from line into array of structs
 
I will say up front this an assignment for my second C++ class. Basically I have to open a text file...
[7 replies] Last: Well I was able to run it on a unix machine just fine after finding th... (by rkbruner)
by IloveC
Please help
 
I currently taking a C++ course and it is giving me difficulty. I was wondering if there is anyone w...
[1 reply] : Show us what you've got so far so we can help. (by xander333)
How to get current address of last executed instruction
 
Recently, i was searching for a way to find out if the function was really inlined by the compiler. ...
[12 replies] Last: No, the standard defines syntax and semantics. Optimization is part of... (by helios)
Memory leaks
 
I have an application written in c++ to call interface routines to pull out data of a certain format...
[3 replies] Last: I do see the data coming out of the interface..... The data looks good... (by mjocasio)
Reading from a text file
 
How can I match a word with one in a text file Let's say I need to check if a file has the word "...
[1 reply] : Well it's really up to you, you can do it lots of different ways, one ... (by avlagrath)
/tmp/cckHZMTJ.o: In function `main':
 
Not sure whats going on here. using Geany IDE on top of Linux Mint 11.04 Both main.cpp and Romant...
[4 replies] Last: I started the project in visual studio at school, but then tried to fi... (by estex198)
Access violation reading location
 
So Im using SDL to make a zombie survival game and Im getting a weird error It has to do with 2 fil...
[10 replies] Last: It seems that you're using p in multiple threads. It's also possible t... (by Athar)
[School]Stumped
 
I am stumped with this problem for my c++ class. We are supposed to have a function called stat that...
[11 replies] Last: True, I wasn't feeling alright at the time. Sorry. (by hanst99)
Inserting a String(variable) into an address
 
Can you change an address by including a string(variable) within the address? For example, I'm wr...
[2 replies] Last: thanks (by paulmcco)
exceptions handling.
 
Hi, I need to write implement exceptions, that prints error message to the screen, that appropriate...
[8 replies] Last: Note that you don't need to throw and catch in the same block: void ... (by hanst99)
Linked List
 
I have a class, say class MyClass{ int a; int b; MyClass(); MyClass(int a, int b); MyClass(int...
[1 reply] : http://www.cplusplus.com/articles/DjGEy60M/ (by Athar)
mileage calculator help
 
Hello, In my opinion,it depends on the portion covered just before the problem.... Some ideas: 1.On...
[2 replies] Last: Don't repost the same topic in a different forum when the old one isn'... (by Athar)
inheritance problem.
 
Hi, i have a problem when running a code like this: ba(11,"Title","Name"); is there a mistake w...
[6 replies] Last: thnx guys, adding LibraryItem(cNum,_bookName,14) to the initializat... (by aymanbah)
by mithat
%s%d
 
Hi we have an array names which are as follows: True1_Meas1, True2_Meas2, True3_Meas3,..... w...
[1 reply] : If this works anything like scanf you are trying to read into rvalues. (by hanst99)
[School] Linkedlist *pointers.
 
Good morning, I've a question about global pointers. At first, my assingment: We need to read a...
[5 replies] Last: I found out how to use the pointers. Oke its not exactly what I attend... (by Leek007)
Compile error for non-inline member function of inner class of templatized class
 
I've got a template class B with an inner class A. Class A has a member function f that I want to r...
[3 replies] Last: $ g++ error.cpp error: need ‘typename’ before ‘B2<T>::A2’ bec... (by ne555)
C++ windows or linux
 
I need recommendations as whether to develop a C++ program for Windows or Linux. The program will ...
[1 reply] : There is no reason why you can't write your program to run on both Win... (by Galik)
Replacing Arrays with Vectors?
 
The program I written below is basically a menu system used to find out averages to a number of grad...
[1 reply] : Not much to tell. vector<int> grades; //creates an initially empty v... (by Athar)
Functions (Reference Parameters)
 
Please go to this link : www.cp159.blogspot.com PLEASE DO NOT ANSWER ON THIS PAGE REPLY ON THE LIN...
[no replies]
Nested dereference of char arrays
 
I'm working on a program to verify RAID 6 data stripes, which involves loading an entire chunk from ...
[3 replies] Last: Technically, 'char' by itself can mean either 'signed char' or 'unsign... (by helios)
September 2011 Pages: 1... 1415161718... 31
  Archived months: [aug2011] [oct2011]

This is an archived page. To post a new message, go to the current page.