Search:

Type: Posts; User: erictu

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    5,602

    Here is the new code with the non-lvalue in...

    Here is the new code with the non-lvalue in assignment

    #include <iostream>#include <cstdlib>


    using namespace std;
    void Displaylab(int *lab,int size)
    {
    int i;
    for(i = 0; i < size;...
  2. Replies
    25
    Views
    5,602

    It still doesn't work. The syntax error said...

    It still doesn't work. The syntax error said non-value assismentT_T
  3. Replies
    25
    Views
    5,602

    I wondering the second part I'm calling the...

    I wondering the second part I'm calling the position of the user login in the search function. And it isn't like this dynArray[][]= 0?

    if(search(Array,ID,row,r,c,lab))
    It still got the syntax...
  4. Replies
    25
    Views
    5,602

    Hm... no really. Because In my search function i...

    Hm... no really. Because In my search function i have search for the user login and save the position so that when I call function in the logout function it can search and logout the user forgot to...
  5. Replies
    25
    Views
    5,602

    #include #include ...

    #include <iostream>
    #include <cstdlib>


    using namespace std;
    void Displaylab(int *lab,int size)
    {
    int i;
    for(i = 0; i < size; i++)
    lab[i] = 0;
  6. Replies
    25
    Views
    5,602

    can you give it in the example code because I'm...

    can you give it in the example code because I'm kind of get it but kind of don't know where you mean point at@@
  7. Replies
    25
    Views
    5,602

    but the struct is the next chapter, it's not this...

    but the struct is the next chapter, it's not this chapter:(
  8. Replies
    25
    Views
    5,602

    that's the way I'm doing now but I get stuckT_T

    that's the way I'm doing now but I get stuckT_T
  9. Replies
    25
    Views
    5,602

    I'm not sure my teacher let me using the vector...

    I'm not sure my teacher let me using the vector because he said if you use vector you won't learn anything.?????
  10. Replies
    25
    Views
    5,602

    > 13 myPtr[i] = new int[lab[i]]; What is lab[i]...

    > 13 myPtr[i] = new int[lab[i]];
    What is lab[i] here?
    The lab[i] is the column because the they have 4 row but it has different cols
    From the 82-86 is the labmain pointer point to other 4 small...
  11. Replies
    25
    Views
    5,602

    I have consider about using vector but i'm not...

    I have consider about using vector but i'm not comfortable to use the vector, so that's why I do it this way and here is second version i get so far, the big problem here I don't know do I need to...
  12. Replies
    7
    Views
    1,072

    at first i tried the a[i] but it didn't work but...

    at first i tried the a[i] but it didn't work but I realized i had missed the [size] for point *b.For both case it works perfectly thanks a lot:)
  13. Replies
    25
    Views
    5,602

    need help with Tracking user login

    Here is the topic

    Each user has a unique five-digit ID number.Whenever a user logs on, the users's ID,lab number,and the computer station number are transmitted to your system.For example,if the...
  14. Replies
    7
    Views
    1,072

    i figured out, it worked with *(a+i) Thanks for...

    i figured out, it worked with *(a+i)
    Thanks for helping:)
  15. Replies
    7
    Views
    1,072

    I change it to *a and it works but the function...

    I change it to *a and it works but the function isn't running completely.
    Can anyone tell me what do I need in order to store the same number become 1 and show in new array.
    Example: i have...
  16. Replies
    7
    Views
    1,072

    Need help with the conversion

    #include <iostream>
    #include <cstdlib>


    using namespace std;
    void search(char a,char b[], int size);


    int main()
    {
  17. Replies
    5
    Views
    990

    I don't know why my program didn't run do I miss...

    I don't know why my program didn't run do I miss anything? because when I try to run them, it didn't work even without any syntax error!
  18. Replies
    5
    Views
    990

    Need help with lack of basic coding

    /* pupose: picking the character from the chunk of text, then analyst what type of that token is
    */


    #include <iostream>
    #include <cctype>
    #include <string>
    #include <cstdlib>
Results 1 to 18 of 18