Posts
 
Reputation
Joined
Last Seen
Ranked #400
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
0 Endorsements
Ranked #818
~48.1K People Reached
Favorite Forums
Member Avatar for Aild

Hi all, I'm having a little problem with array and some "unqualified-id" problem. I've created gazillions (okay, maybe 80) arrays before but I had never encountered such problem. Especially with static arrays. [CODE] #include <stdio.h> #include <cstdlib> using namespace std; int main() { // with addition of buffers for 3x3 …

Member Avatar for Andy_20
0
13K
Member Avatar for mattybennett

Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. Given that I'm a complete newbie with more build errors than a builder having a bad day (bad pun!), what I'm really looking for is someone to hold my hand a bit and …

Member Avatar for joel.queiroz
0
2K
Member Avatar for jesseb07

Hi, my mom has a Dell Dimension 4550 that has been running fairly smooth for several years. Recently she tried to install some new DDR ram in to the mobo, and VERY incorrectly seated it. She asked me to look at it (after the fact) cause her computer would power …

Member Avatar for Mark Lone
0
317
Member Avatar for jesseb07

hey, had a question that I couldn't figure out. I'm writing a program for linux and I need to save things to a person's Desktop. Because of that, I need to know their username. I am aware of the linux commands whoami, id, etc, but they only print the current …

Member Avatar for jbennet
0
8K
Member Avatar for atch

Hi, in my code below if I move scope protected below public just as I would like to see it this code won't compile. I always thought that order of members in class is without any importance but here I see something different or I'm doing something wrong? Thank you. …

Member Avatar for jesseb07
0
101
Member Avatar for mandofl

Hello once again. I'm trying to do one last project, but unlike the others, that usually i struggle with some common errors, this time i have problems figuring out how its supposed to be created. This is the question: Write a class named Employee that has the following member variables: …

Member Avatar for mandofl
0
4K
Member Avatar for sara9111

[COLOR="Red"][B]How i solve this problem ?? i try, but i don't know wts the wrong??[/B][/COLOR] A.Write the defintion of function one so that it returns the sum of x and y if x greater than y, it sholud return x mines 2 times y. B.Write the defintion of function two …

Member Avatar for jesseb07
0
119
Member Avatar for renovat0

I need to do 2x2 array calculation.but not using global variable. enterData() calculate() displayResult() this are the three function. but i can't pass the value.. please help me.. I've done it without using function.. #include <iostream> using namespace std; calculate(int x[][],int y[][]); enterData() { int x[2][2]; int y[2][2]; int t[2][2]; …

Member Avatar for jesseb07
0
93
Member Avatar for renovat0

#include <iostream> using namespace std; int main () { int R,G,Y; int r,g,y; int a; cout<<"enter your input"<<endl; cin>>a; if (a==R||r) { cout<<"please stop"<<endl; } else if (a==G||g) { cout<<"you can go"<<endl; } else if (a==Y||y) { cout<<"prepare to stop"<<endl; } else cout<<"Out of range"<<endl; return 0; }

Member Avatar for renovat0
0
106
Member Avatar for agaba

When my try to rebuild my program i m getting this errors 1>Linking... 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\agaba\Documents\Visual Studio 2005\Projects\car\Debug\car.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\agaba\Documents\Visual Studio 2005\Projects\car\car\Debug\BuildLog.htm" 1>car - 2 error(s), 0 warning(s) my …

Member Avatar for John A
0
144
Member Avatar for JackDurden

How do you erase an element thats inside a map. Not the key but the element the key is pointing to? This doesnt seem to be doing what i want it to. [CODE]map<int, vector<int> > my_map; map<int, vector<int> >::iterator it; void erase(int num) { for(map::iterator item=my_map.begin();item != my_map.end()) { if(it …

Member Avatar for jesseb07
0
147
Member Avatar for lotrsimp12345
Member Avatar for ryBowk

hey all. this is (if i remember correctly) my first post, i have done alot of reading on this forum though and have found the info invaluable. my program is a calculater that calculates the amount of sheets of plasterboard and bags of plaster needed for a wall, firstly: have …

Member Avatar for ryBowk
0
137
Member Avatar for Leniel

well this a parallel array and also be able to process the arrays but it doesn't do so can some one give me a hint of what i might be doing wrong. Thank you before hand. ------------------------------------------------------------------------- [code=cplusplus] #include <iostream> #include <new> using namespace std; int main () { int …

Member Avatar for Leniel
0
176
Member Avatar for vinnijain

HI!!!!!!!!! How can I find the index of same digit which is at diffrent postion in any given number(number can be of any length).... Like we have any number, suppose, 982625 How can we find the index of two 2s in this number......... I have made a form in which …

Member Avatar for WaltP
0
78
Member Avatar for metalclunch

Hello, this is Metalcrunch. I've been learning C++ over the past days and I thought I'd make a calculator. So I looked over the existing code on the internet on how to make a calculator, understood it, then made my own from the very scratch. However, I'm having a few …

Member Avatar for 23.12.2012
0
236
Member Avatar for OwenRoberts

Hello DaniWeb! My first post to you. I have a question about an undefined reference error I am getting. Currently I am studying from Dietel and Dietel C++ How to Program 4th ed, and on page 421 of chapter 6 I am working on the program they have in the …

Member Avatar for jesseb07
0
370
Member Avatar for Cloneminds

For some reason, my numbers aren't adding in correctly and it's taking the -1 sentinel value and adding it into the total. [code=C++] // worthless testing.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using std::cout; using std::cin; using std::endl; int main() { int …

Member Avatar for siddhant3s
0
120
Member Avatar for Cloneminds

Hello again, My assignment is to calculate a 10% bonus based on sales figures. I have to use a main() function, obviously, and 3 void functions, getSales(), calcBonus(), and displayBonus(). I'm pretty sure I have the functions coded correctly, I'm just having some issues getting them to actually run correctly …

Member Avatar for wildgoose
0
214
Member Avatar for lotrsimp12345

how can i cast a string to int when i have this [code=cplusplus] //input problem numbers cout<<"\n""enter the numbers"; //numbers represents what they input string numbers; getline(cin,numbers); //position represents at what location value comma is int position; while(numbers.find(',') !=string::npos) { //print out what the user inputs //used to split up …

Member Avatar for s_sridhar
0
326
Member Avatar for jesseb07

hello, got a quick question regarding stack overflow (I honestly don't know if this is more suited for a wxWidgets forum, once you see what I mean, but I figured I'd try here first). I was tweaking my linked list class and testing it in a testing harness program I …

Member Avatar for jesseb07
0
256
Member Avatar for sharkattack85

[code=cpp]#include <iostream> using namespace std; int main() { int length; length = 7; cout << "The length is " << length; return 0; } [/code] When i run the program, it outputs everything but the screen comes on real fast and then closes and i cant get it to stay …

Member Avatar for siddhant3s
0
240
Member Avatar for Stefano Mtangoo

I'm learning wxWidgets and would like to know which event, connect or using static event tables? Why will you choose one from the other

Member Avatar for Stefano Mtangoo
0
253
Member Avatar for youngfii

Hi, I have this "number game" which i just learned tonight ..It runs..but ,not without this warning box poping up, which says: "uninitialized local variable 'guess' used"...This confusing me because i know i did everything exactly like i was taught ...can you find/fix my problem abd explain please it'll be …

Member Avatar for jesseb07
0
110
Member Avatar for fadia

heey guys.. i just learned the arrays.. am not really good at them.. can some one simplify it for me.. i gat this question.. i tried to solve it.. but didn't get the desired output :S how ever it says 1 succeeded ! here's the Q: 1. Declare one array …

Member Avatar for mirfan00
0
286
Member Avatar for rtwister

it keeps saying theres an error on line 17, it says: "no match for 'operator!=' in 'a != password'" [CODE] #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { string password; cout << "Type in a password: "; cin >> password; char a; a = 'A'; cout …

Member Avatar for mvmalderen
0
130
Member Avatar for rafaelbrizu

I have that funtion for generate sequence to the style 'hqhzaw', 'ebcpm', 'qtch', etc. (only letters) and according to 'lenght' [code=cplusplus] string random_letter(int length) { string s; for (int i = 0; i < length; i++) { s += char(rand() % 26 + 97); } return s; } [/code] I …

Member Avatar for rafaelbrizu
0
102
Member Avatar for Takafoo

int main( int argc, char *argv[] ) { ==> This function has over 60 lines. You need to split it into smaller functions Everytime I try to split it up I just cause errors (it compiles but locks up when I run it through the test system so I think …

Member Avatar for Takafoo
0
174
Member Avatar for SallyJ
Re: Loop

Can anyone lease tell me the value of k? I know it starts at 0 and loops backwards but I can't figure out where it terminates. I would really appreciate someone telling me the best way to figure this out so I can solve these problems in the future [code] …

Member Avatar for jesseb07
0
146
Member Avatar for fadia

hi guys.. i'm doing this program.. haven't finished it yet.. i'm not getting any errors but the program is not running correctly.. I dunnu y,, i did everything i had to and it says 1 succeeded with no warnings ! here is my code.. [CODE]#include <iostream> #include <fstream> #include <cstdlib> …

Member Avatar for fadia
0
133