• Member Avatar for Learner010
    Learner010

    Created insert character in text box

    i want to insert text in textbox at specific location(i.e row 2 column 3).how can i do that ? i tried this but its not working `Me.RichTextBox1.Text = Me.RichTextBox1.Text.Insert(i, CChar(cb.Text))`
  • Member Avatar for Learner010
    Learner010

    Began Watching insert character in text box

    i want to insert text in textbox at specific location(i.e row 2 column 3).how can i do that ? i tried this but its not working `Me.RichTextBox1.Text = Me.RichTextBox1.Text.Insert(i, CChar(cb.Text))`
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Beginner's Tutorial on Operators

    I was totally unaware about associativity until few days ago(maybe i accidently skipped this section while reading about operators).Anyways , i get this concept while having conversation with **mike**.Then I …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in reading single integer from textfile

    > why are you subtracting 3 from the size of the line? I did so to get the last third position in the string `line`. Here is little modification to …
  • Member Avatar for Learner010
    Learner010

    Began Watching for loops and pattern

    we were given a task to create a for loop with where the user gives a number and became this output and we dont know if there is a sequence …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in reading single integer from textfile

    > For that kind of task, it's preferrable to just read the entire line into a string and then deal with the characters in the string. C++ strings (the std::string …
  • Member Avatar for Learner010
    Learner010

    Began Watching File Copying

    Friends, I met with a small problem please help me I developed a small programme. When I exit from it I want to make a backup in another drive I …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in File Copying

    > I think the folder requires administrator permission to copy the files . Try with the folder in D drive i think it can be solved by starting application with …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in reading single integer from textfile

    > the character '0' will always come before '1' in the code set so '1' - '0' = 1 (integer). you mean their internal representation is in adjacent format.therefore no …
  • Member Avatar for Learner010
    Learner010

    Gave Reputation to mike_2000_17 in reading single integer from textfile

    > it should print 10(1+2+3+0+1+2+0+1+0) So, you want to add together the first three digits of each row. Right? I say that because NathanOliver's code assumes that you want to …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in reading single integer from textfile

    a lot thanks for very very nice explanation. but one point is still unclear for me. > To convert a char digit into an integer number, you can just do …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in reading single integer from textfile

    thanx for your quick reply. i try the code but it doesn't seem to be working. here is the code #include<iostream> #include<fstream> #include<string> #include<stdlib.h> using namespace std; int main() { …
  • Member Avatar for Learner010
    Learner010

    Edited reading single integer from textfile

    hello i decide to first learn about file streams before learning oop concepts in c++. want to read single digit from the textfile. actually text file contains numbers from 0 …
  • Member Avatar for Learner010
    Learner010

    Created reading single integer from textfile

    hello i decide to first learn about file streams before learning oop concepts in c++. want to read single digit from the textfile. actually text file contains numbers from 0 …
  • Member Avatar for Learner010
    Learner010

    Began Watching reading single integer from textfile

    hello i decide to first learn about file streams before learning oop concepts in c++. want to read single digit from the textfile. actually text file contains numbers from 0 …
  • Member Avatar for Learner010
    Learner010

    Began Watching arrays

    1. Assume the bank has 3 clients. Assume every client has 3 accounts. Use a two-dimensional array to store the credit of each account for each user. The array should …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in arrays

    Assume that you are new to daniweb. Assume that you don't have read the community rules. >Assume the bank has 3 clients. Assume every client has 3 accounts. Use a …
  • Member Avatar for Learner010
    Learner010

    Began Watching what is wrong with this program?i can't fin the error

    this program is simply for recording data of various staffs.Inheritance has been used for taking additional data.Staff is the base class.the classes officer,typist and teacher are the derived classes.again the …
  • Member Avatar for Learner010
    Learner010

    Began Watching for loop

    write a c++ program to impliment a class named display. the class should contain a function member to output the following. (use a for loop structure) 3 6 6 9 …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in for loop

    please don't supply the answer until you realise that the op tried a lot to solve the question. in this case you're doing his homework which is against daniweb rules. …
  • Member Avatar for Learner010
    Learner010

    Began Watching A fault in C++ !

    To all those who use C++ and to the creator of C++ . I want to ask a question . What is the use of the default case in a …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in A fault in C++ !

    > A fault in C++ ! i'm not in a position to say such. > it should be executed only when no case is true 100% agree with you. > …
  • Member Avatar for Learner010
    Learner010

    Began Watching How to add, subtract, multiply and divide 2 different numbers from 2 different form

    How to add, subtract, multiply and divide 2 different numbers from 2 different form. Pls help me. The code i think is way too simple example: (Result.text = result) (Text1.text …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in How to add, subtract, multiply and divide 2 different numbers from 2 different form

    > Can I be able to write a simple program to accept two numbers in one textbox including an operator +,-,/,*, using vb 2010 yes , it can be written …
  • Member Avatar for Learner010
    Learner010

    Began Watching Hello! from India

    Hi all, just joined daniweb and wanted to say hello. Hoping to learn new things and share some knowledge Namaste
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Hello! from India

    > Hello! from India Namaste
  • Member Avatar for Learner010
    Learner010

    Began Watching help me plz

    can any help me i have to do my assignment that how to swap 5 number using pointer in c++...
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in help me plz

    > how can you swap 5 numbers? yes , that is the point. how do you swap these numbers ?
  • Member Avatar for Learner010
    Learner010

    Began Watching Program crashing on function call in main

    really need help figuring out this program, it crashes during the getdata() function in main any tips or suggestions appreciated thank you #include<iostream> #include<string> #include<cstdlib> #include<iomanip> #include<fstream> using namespace std; …
  • Member Avatar for Learner010
    Learner010

    Began Watching Help with overloading "<<" operator

    Hello, Working with structures and C++. Our teacher in class attempted to show us how to over load an "<<" operator. I've tried to do that here in the program …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in pointer

    > I also believe x will remain in memory (a leak) how `x` will remain in memeory ? does it not removed automatically when function return back to main ? …
  • Member Avatar for Learner010
    Learner010

    Began Watching stuck trying to remove spaces and punctuation

    I need to remove the spaces and punctuation from the original string and the reverse string, then put the letters only into temp strings for comparision. When I run the …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Help with overtime pay program

    you can try this too : #include <iostream> #include <string> #include <iomanip> using namespace std; //using std::cout; // //CLASS DECLARATION SECTION // class EmployeeClass { public: void ImplementCalculations(string EmployeeName, int …
  • Member Avatar for Learner010
    Learner010

    Began Watching Help with a function call

    I am having a trouble calling my addsomethingup() function in my program. I keep getting the error too few arguments. Can anyone help me understand why this is not working …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Help with a function call

    check your original(previous) post. i've answered there.
  • Member Avatar for Learner010
    Learner010

    Began Watching C Program - to accept 'n' strings from user and store it in a char array

    C Program - to accept 'n' strings from user and store it in a char array I am currently using Turbo C++ Version 3.0 (one with blue screen) Can any …
  • Member Avatar for Learner010
    Learner010

    Began Watching Get paid to answer questions

    I'm thinking of going down the route where members can actually get paid to answer questions. Here's how I am thinking the concept might work, and you tell me if …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Help with overtime pay program

    just try the code which i put in my last post. it'll produce the desired output. yeah , you can ask for better solution.
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Help with overtime pay program

    as i already said that i'm learning oop concept in c++ therefore i couldn't tell the better solution . I think there may exist something by which `Addsomethingup` is called …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Help with overtime pay program

    did you make them global ? then call `Addsomethingup(Employ1,Employ2,Employ3);` . did you try the code what i posted ? that's all what i can do. I don't see any other …
  • Member Avatar for Learner010
    Learner010

    Began Watching Help with overtime pay program

    Hello I am having trouble calling my addsomethingup() function. It keeps saying too few arguments in the function call. Can anyone let me know what I am doing wrong. I …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in Help with overtime pay program

    well , i'm also learning about oop concept in c++(please correct me , if i'm wrong). here you're making a mistake while calling `Addsomethingup();` because it requires `3` arguments of …
  • Member Avatar for Learner010
    Learner010

    Marked Solved Status for pointer

    consider the following code afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } i expected `12` as the output but its wrong and correct …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in pointer

    a lot thanks for your explanation . I really appreciate your answer. earlier `x` was pointing to the address where `v` was stored but now i realize that this statement …
  • Member Avatar for Learner010
    Learner010

    Edited pointer

    consider the following code afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } i expected `12` as the output but its wrong and correct …
  • Member Avatar for Learner010
    Learner010

    Created pointer

    consider the following code afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } i expected `12` as the output but its wrong and correct …
  • Member Avatar for Learner010
    Learner010

    Began Watching pointer

    consider the following code afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } i expected `12` as the output but its wrong and correct …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in C Pointer problem, print out done wrong,

    > it seems the program I made, something out of scope with br[], Learner10, is it? yes , it(`ptrBr`) points to memory location just below `br[0]`.Thats why we need to …
  • Member Avatar for Learner010
    Learner010

    Replied To a Post in C Pointer problem, print out done wrong,

    this is because your last iteration make ptrBr point to some unknown location(i.e point to 1 location back). let's see how your iteration works iteration no ptrAr ptrBr iteration 1 …
  • Member Avatar for Learner010
    Learner010

    Began Watching C Pointer problem, print out done wrong,

    My Name is Leonard E. Norwood Jr. I'm Undergraduate student from Norfolk State University in Norfolk Virginia. Getting down to the point, my program is supposed to print out a …

The End.