Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Tronfi

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,448

    Fill a DataSet.xsd with a DataSet :S

    Hi people. I'm having some problems with reporting and I thought you could help me (( .NET 2.0 )):

    I have created a DataSet (mydata.xsd) trhough the IDE. I also have designed a Report.rdlc, and I...
  2. Replies
    5
    Views
    639

    Re: returning a char as a pointer

    Try this:



    void position (char, char *);


    int main (void);
    {
    char orientation;
  3. Replies
    20
    Views
    3,026

    Re: Homework Function Help.

    You need a main function.
  4. Thread: switch-case

    by Tronfi
    Replies
    6
    Views
    681

    Re: switch-case

    I have not read all your code, but try this:


    do{
    cin >> user_choice;
    switch (user_choice)
    {
    case 'A': counting_loop();
    break;
    case 'B': impossible();
  5. Re: How to ctreate an array of objects that contain character strings

    I know it's not neccesary to create a class, but I supoussed (maybe wrongly) that it was what he wanted. I thought he knew how to use string (I said how to make an array of strings in the beginning...
  6. Replies
    6
    Views
    665

    Re: inputting a fraction in the form x/y

    Why not:


    int x, y;
    char a;
    cin>>x>>a>>y;
  7. Re: How to ctreate an array of objects that contain character strings

    Strings: string items[5];
    General: myclass items[5];

    To retrieve the item "n" from the string solution, just items[n].
    To retrieve the item "n" from the "myclass" solution, overload the operator...
  8. Replies
    4
    Views
    2,868

    Re: C IDE and Intellisense?

    Dev-C++, Anjuta, etc
  9. Replies
    6
    Views
    438

    Re: Inifinite loop problem (easy question)

    Be careful. 2484 is an integer, but not a digit. I have no time to check it, sorry.

    PD: You can read a char* and then check if num[i] is a digit.
  10. Replies
    6
    Views
    1,761

    Re: Deleting vectors

    Thanks for the response Paul.
    I have to compare the performance using STL and dont using it, so in this case i can't use any container.

    You're right about calling the variable "vector". I'll...
  11. Replies
    6
    Views
    1,761

    Deleting vectors

    I'm having some troubles when I try to delete some pointers.

    I have a structure like this:


    struct vPos{
    int *vector;
    int **pos;
    };
  12. Replies
    4
    Views
    416

    Re: How to pass data in tree form to caller ?

    I don't know what's a caller. Assuming it's a function, why don't you use a vector to store them, and then pass the vector as an argument of the function?
  13. Replies
    12
    Views
    919

    Re: pointer to pointer concept

    That looks like 3DStudioMax9+Photoshop CS15+FreeHand23 :lol:
  14. Re: Unidentified reference when incuding header file

    Try manual compiling:


    g++ install.cpp drupal.cpp -o install


    (I agree with potatoCode).
  15. Re: Unidentified reference when incuding header file

    Is Drupal.h in the same directory as install.cpp?

    I don't see anything wrong. How are you compiling it?
  16. Re: Inserting numbers from a .txt file into an array?

    I realised what i've written after post it. I edit it quickly, but you were faster :cool: . You're totally right.
  17. Replies
    4
    Views
    531

    Re: Help with chess game

    I don't understant it. What is the checkerboard?


    There is no other way, you will have to redraw it.
  18. Re: Inserting numbers from a .txt file into an array?

    To move to a specific place, use seekg. With that and a counter, you will be able to read just the first "900". Probably, you will have to cast it to an int.

    Other way: ignore.
  19. Replies
    2
    Views
    910

    Re: Difference LValue and RValue

    Take a look at this.
  20. Replies
    6
    Views
    743

    Re: Delete Vector Error

    Maybe you could be more especific... Show your code, for example.
  21. Replies
    3
    Views
    733

    Re: help with understanding this c++ code!

    GOTO? :O

    That code is a free pass to hell.
  22. Replies
    4
    Views
    445

    Re: Help with Classes

    Create an instance of that class, set it a radius and then print it:


    int main(){
    Circle c;
    c.setRadio(34);
    cout<<c.getArea();
    }
  23. Replies
    20
    Views
    2,811

    Re: Simple dynamic array question

    And I guess int doesn't have destructor, does it?

    Thank you!
  24. Replies
    20
    Views
    2,811

    Re: Simple dynamic array question

    Why you think so? After delete the pointer, v[1] is still accesible.
  25. Replies
    20
    Views
    2,811

    Re: Simple dynamic array question

    string *A = new string [20];
    string *B = A;
    delete [] B;


    Do you really think that delete [] B will delete the array? It will not. I will just delete the pointer *B, with a size of 4 bytes.
    ...
Results 1 to 25 of 41
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center