Beginners - November 2011 (Page 48)

by TimL
Data member is inaccessible?
 
I am getting started on a polymorphic program for my advanced C++ class, but Visual Studio is complaining about a data member in one of my classes being inacces...
[2 replies] Last: Visual Studio is (indirectly) reporting it can't find the non-const ve... (by jim80y)
Puzzled over use of an Array of Struct
 
Hello Cplusplus forum user. I'm working on this program and it seem to be uncooperative for the life of me. typedef struct { T_contenu conten...
[2 replies] Last: Thank you for your help. Indeed the TypeDef was not global and putting... (by SilverThorn)
creating dll
 
okay, I need a bit of help creating a dll. I need to know where to place my code, because the created files look a little weird. main.cpp #include "main....
[14 replies] Last: Anger is the path to the dark side. Confusion manifest frustration whi... (by WilliamW1979)
by sch518
R6010 - abort() has been called
 
I am working on an assignment for my c++ class and when I run my program and get to a certain point I get an error message that says R6010 - abort() has been ca...
[no replies]
by Baso
what about ( C++/CLI "CLR")?
 
Hello everybody ! I have just finished the book (object oriented programming )for Robert Lafore, I found it a good book, I have learned a lot about cons...
[2 replies] Last: C++/CLI is a separate language. It might be worth learning if that's ... (by Disch)
show output of c++ online
 
hi. can you tell me a site that we can use c++ and see the output in that?
[1 reply] : Are you asking about something like this? http://ideone.com/ -Albatro... (by Albatross)
help with arrays and functions
 
This program keeps giving me the same error while compiling line 21: invalid conversion from int to int initializing argument 1 of void setCounts(int) line 2...
[2 replies] Last: Thank you so much! It works perfect! (by schw1396)
another linked list question
 
we've to code a function that will get the salary of an employee from a linked list based on a parameter of 'name' matching to an employee's name who is in the ...
[6 replies] Last: well I'll explain it by commenting the code. if(head->name == empNa... (by Dacster13)
by dean
const char* virtual toString() const
 
Hi guys, why cannot I declare an instance method like this: const char* virtual toString() const the meaning would be an overridible function that returns ...
[no replies]
Write a program using loop that has the user enter two numbers and then power them w.o power function
 
Write a program that has the user enter two numbers and then calculates and displays results the 1st # raised to the 2nd # the 1st # raised to the 1st # ...
[1 reply] : Here it is: #include <iostream> using namespace std; int main(){ in... (by biagio distefano)
Big problem in a simple exceptions code
 
Consider the following code: It simply takes 2 class objects(int,float) as feet,inches... If value of inches exceeds 12 then it throws an exception and also ...
[no replies]
by Yezman
2 Questions: Function Call and Array + for + if
 
7) Given the function prototype void fix( int&, double ); which of the following is an appropriate function call? (someInt is of type int, and someDouble is ...
[1 reply] : for the first one int& is a reference to an int variable. Think of it ... (by Dacster13)
nested for loops and reading from input file
 
I have an assignment and i'm so close to throwing my computer against the wall because I can't freaking seem to get it. the assignment is: Write a program...
[12 replies] Last: Glad to help. Have fun... (by mzimmers)
by wasabi
Invoking external executable without system()
 
Can it be done? I've looked around a bit but everyone says it's either system() or a OS-dependent solution. And since I've never had to deal with OS-dependent s...
[1 reply] : well you can go OS-dependent, it's not a big deal. With windows you ca... (by ultifinitus)
ADT list
 
Hi guys, I am trying to implement an ADT list, but when I compile it, it freezes and the following message appears: "xxx.exe has encountered a problem and need...
[15 replies] Last: you're welcome, I'm glad I could help. ^_^ (by Dacster13)
Array Splitting
 
I've got a game I'm trying to code. What I have is 3 arrays that are filled with numbers. What happens is I get a set(or deck) of numbers and store them into a ...
[14 replies] Last: Its solved. Thank god. (by closed account 365X92yv)
Array trouble again!
 
Ok I am still having difficulties with this. I gave it the inputs but it still skips either the first or last input to the array when I run it? Is there somethi...
[no replies]
problem with the time and date
 
hello everybody im having a little problem. can anywone help me¿ #include <stdio.h> #include <time.h> int main () { time_t fecha; time...
[no replies]
Output Uppercase Letters
 
Hey guys, I need to make a program that outputs all uppercase letters. I think the letters can come from anything. Help please
[2 replies] Last: ha..yea, i think the second one is what i need. thanks (by ace7474)
How to send an email w/ attachment
 
Hello everyone! I've been searching the solution on google for two days now, and i could not manage to find it out. First of all: I have to say I am a begin...
[no replies]
November 2011 Pages: 1... 4647484950... 65
  Archived months: [oct2011] [dec2011]

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