Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~10.0K People Reached
About Me

Olde programmer - Pascal, Basic, Perl but new to C++

Favorite Forums
Favorite Tags
c++ x 26
c x 15
Member Avatar for BaD-AiM
Member Avatar for naya22
0
96
Member Avatar for Nedals

This is a snippet from a larger block of code. The print statements are included for testing. Within 'main', if I ouput the 'cell_ptr' or 'params' pointers, it correctly returns pointer values but if I try to output an element from the params array, I get an '...illegal operation...' message. …

Member Avatar for Nedals
0
110
Member Avatar for Nedals

[code] #include <iostream> #include <string> using namespace std; struct record { string C0; string C1; string C2; }; int main() { record param; param.C0 = "heading1"; param.C1 = "heading2"; param.C2 = "heading3"; string key = "CO"; string data = param.C0; cout << "DATA: " << data << endl; return 1; …

Member Avatar for Nedals
0
202
Member Avatar for nsan

some easy questions about c++ 1. is it possible to link the c++ files with databases like oracle,MySql? (coding the file to access the databases) 2. can we put the compiled files on websites? Google.com is build in C and C++ and their search engine is running on that. how …

Member Avatar for iamthwee
0
211
Member Avatar for almared_6

[B]Hi everyone, First I want to say hello to everybody in this site and I hope that you'll welcome me as one of your nice members :o . I've just started learning C++ language, and now I have to make a small program that counts the average grade for a …

Member Avatar for Bench
0
133
Member Avatar for grunge man

is it bad to not be a student on this page because i thought it was for anyone who needed help with c++

Member Avatar for Narue
0
159
Member Avatar for blackdove

I've been working on a binary search tree and I've written out most of what I think the code should look like but I can't test it because of an error I'm getting. I have no idea if what I have is even correct. My professor gave us the class, …

Member Avatar for Nedals
0
190
Member Avatar for grunge man

um i just starded macking a simple program and i want the user to input a number when it says enter a number then i want it to say that number *3 is, enter then the answer will appear here is what i have and i dont know whats wrong …

Member Avatar for Lerner
0
283
Member Avatar for c++34

İ dont know anything about file IO.if you have any idea how can write a c++ program to my hw pls share your ideas.homework is in the attchement.

Member Avatar for c++34
0
126
Member Avatar for neo69potato

ok basically me and a friend are learning C language and we're totally stuck on this problem in the textbook and want to get around it before moving on. We're totally useless so a nudge in the right direction or any help at all would be awesome. heres the problem: …

Member Avatar for neo69potato
0
341
Member Avatar for crestaldin

Please I need help on how to insert elements into a sorted linked list.I actually have a list that contains names and scores for students and I want the elements to be inserted into the right postion such that the names of individual students are arranged alphabetically. This is my …

Member Avatar for Nedals
0
5K
Member Avatar for Nedals

In CApplView I create a Login Form. [code] void CApplView::Login_Entry(CDC *pDC) { .. if (pUserid == NULL) { pUserid = new CEdit; pUserid->Create(WS_CHILD|WS_VISIBLE|WS_BORDER, CRect(x,y1,w,h), this, IDC_USER); pPasswd = new CEdit; pPasswd->Create(WS_CHILD|WS_VISIBLE|WS_BORDER, CRect(x,y2,w,h), this, IDC_PASS); pbLogin = new CButton(); pbLogin->Create("Login",WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(x,y3,w,h), this, IDB_LOGIN); } } [/code] How do I add code …

Member Avatar for Nedals
0
928
Member Avatar for Acidburn

Hello, I'm wanting to know whats in the string and where: I've got this code [code] string s1="HelloWorld"; if(s1[5] = "W") [/code] now then if i want to know if World is in the string. I've tried doing: the if.... but it errors: [quote] : error C2446: '==' : no …

Member Avatar for Bench
0
187
Member Avatar for Nedals

I'm attempting to build a simple listener, preferably without a Thread, but I am lost. I have a working listener in 'console' mode but I need one that works with MFC. It should stay open indefinately - (until I send a shutdown message) This is my initial non-working attempt. It …

Member Avatar for Nedals
0
269
Member Avatar for parvin2

how can I place all of my program in a while loop what I want is this: the user should enter color of pen ,color of brush and then enter name of a shape that want to draw. my program should give this information and draw a shape the user …

Member Avatar for Nedals
0
170
Member Avatar for Nurul Dee

i have a problem to simulate program on array-based list :rolleyes: :sad: .The array can store 10 integer value.The application should be perform basic operation such as inserting,deleting and displaying the array's content :rolleyes: .Any extra operation are welcome.The application should promt user a menu as follow : 1)insert value …

Member Avatar for Nedals
0
354
Member Avatar for Nickol

Hey, I have to write a function that does this : It checks if a word come up twice in a row . For example : myString[] = " Ariel lives in in the city city Ariel " so now my function should print the words : in city . …

Member Avatar for Nickol
0
109
Member Avatar for sosy2001

#include <iostream> using namespace std; // This program takes the numerical score and outputs a letter grade.// int getScore () { int count; int score, for (count = 0; count <10; count ++){ cout << "\nEnter the student's score: "<< endl; cin >> score } cout <<"\nThe score is/are: " …

Member Avatar for Nedals
0
162
Member Avatar for Nedals

I have limited experience with Object Oriented coding but not programming in general. Here is a stripped down version of my code. What I'm trying to do is set a variable declared in 'CProjectView::Handler' using a function in 'CtestClass'. Simple enough! but not for me. In the code as shown, …

Member Avatar for Nedals
0
250
Member Avatar for Quan Chi2

Does anyone know a tutorial that teaches me how to code them in C++? I want to learn how to make my program send packets and recieve them.

Member Avatar for Nedals
0
103
Member Avatar for Twins_effect

hey guys, im a new guy here in the forum and im also an IT student who gets into C++ troubles most of the time, but enough about that... i just wanna ask if anyone can help me in my linked list problem, i think its about pointers and address. …

Member Avatar for Twins_effect
0
102
Member Avatar for zenoen

im learning c and need help learning this concept and what it does [code]#include <stdio.h> #include <c.h> #include <math.h> #include <time.h> #include <stdlib.h> int rollone(void); void printrolls(int rolls[]); void printx(int howMany); int main (int argc, const char * argv[]) { int rolls[ 13 ], twoDice, i; srand (clock() ); for …

Member Avatar for zenoen
0
300
Member Avatar for Nedals

I'm really new to C++, but not to programming, and don't really know what I'm doing. I had a bunch of programs working OK. Then I was messing with a window application and all my window programs would no longer compile. I get the following error (same for all projects) …

Member Avatar for Nedals
0
372