Search:

Type: Posts; User: [Student]

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds; generated 16 minute(s) ago.

  1. Replies
    2
    Views
    1,576

    Help with Depth First Search

    class arc
    {
    public:
    int adj;
    int weight;
    arc(){}
    arc(int a)
    {
    adj = a;
    }
  2. Replies
    8
    Views
    1,273

    if i have 7 2 3 I enter position 1 and it must...

    if i have 7 2 3

    I enter position 1 and it must return 7....

    but i have a new element at first so 2 7 2 3

    I enter position 1 why is it returning the same value "7". .. instead of 2 . . that's...
  3. Replies
    8
    Views
    1,273

    C++ linked list

    Please I Need help in retrieving the value of the node of its given position

    here's my code, but there's is a problem in returning the value . .



    int n=1;
    Node *newNode=head;
    ...
  4. Replies
    4
    Views
    847

    in my enqueue I put size++ & dequeue I put size--...

    in my enqueue I put size++ & dequeue I put size-- , but I want to put those two in one function
  5. Replies
    4
    Views
    847

    Ok thanks :D , by the way can you help me how to...

    Ok thanks :D , by the way can you help me how to do a circular count! , not depending on the counter from enqueue and dequeue?



    int Count() {
    return size;
    }
  6. Replies
    4
    Views
    847

    C++ Class Queues

    Please help me putting a single statement in bool full() & bool empty()




    bool isFull() {
    return (Count() == 5) == true;
    }

    //is it wrong? please correct it
  7. Replies
    5
    Views
    2,771

    I'm done with that, but nothing change, its the...

    I'm done with that, but nothing change, its the same! , help me please!

    see the difference

    correct wrong
    23 23
    21 21
    19 19
    17 17
    15 ...
  8. Replies
    5
    Views
    2,771

    C++ divisible by 10

    can u help me? I have problem in my program a little bit only! . . .



    #include <iostream>
    #include <math.h>
    using namespace std;
    main ()
    {
    float num;
  9. Replies
    7
    Views
    2,251

    ok , but can u help me a little bit, just an...

    ok , but can u help me a little bit, just an example? because i don't know how to start ...
  10. Replies
    7
    Views
    2,251

    C++ library management!!

    Can U help me to code for book issue and book deposit. . .
    because i have difficulties in this part! plz help me on the project!
    and i really need all your help! . .
  11. Replies
    1
    Views
    2,173

    Help me where to place the system("cls");

    Can u help me where to place :


    run:



    getch();
    system("cls");
    goto run;
  12. Replies
    1
    Views
    1,385

    Really Need Help in Palindrome Strings

    #include <iostream.h>
    #include <fstream>
    using namespace std;

    main()
    {
    char strn[80];
    int i,j,len;
  13. where? need help

    where? need help
  14. can u give me a sample what you mean? plz

    can u give me a sample what you mean? plz
  15. series of lines in text Get the Integer and Sum

    Instructions : Read a series of lines from a text file, get the numeric values in each line, perform addition and display sum

    and this is my code


    #include <iostream>
    #include <fstream>...
  16. Replies
    8
    Views
    3,830

    I have finish it in other way . . . but can u...

    I have finish it in other way . . .
    but can u help me how to stop looping using ctrl + z

    Here's my code:



    char text[5][80];
    char *searchPtr;
    int character[26]={'\0'};
  17. Replies
    3
    Views
    1,531

    Help with strchr function

    char text[50];
    char *searchPtr;
    char character[26]={'\0'};
    int count=0;
    int i,j;

    cout<<"Enter strings: \n\n";

    while(cin.getline(text,50)){
    ...
  18. Replies
    5
    Views
    2,674

    I mean that i must enter EOF to end the input . ....

    I mean that i must enter EOF to end the input . . . .
  19. Replies
    5
    Views
    2,674

    Help with sentinel control using EOF . . .

    for(int i=0; i<=3; i++){
    gets(&text[i][0]);
    }
    for(int i=0; i<=3; i++){
    for(int j=0; text[i][j]!='\0'; j++){
    ...
  20. Replies
    2
    Views
    1,178

    I 've Input 12 in size of vector and 2 for the...

    I 've Input 12 in size of vector and 2 for the value of elements . . so the answer is 2 2 2 2 2 2 2 2 2 2 2 2... then when i input 3 to the element value . .

    it will give me answer like this 2 2...
  21. Replies
    2
    Views
    1,178

    help Vector c++ . . I need Help

    How to insert element in middle? because i got wrong outputs . . .plz help



    cout<<"Enter size of vector: ";
    cin>>size;
    cout<<"Enter value of the elements: ";
    cin>>b;
    ...
  22. Replies
    5
    Views
    1,031

    I'm Stuck in this code....i got a wrong in...

    I'm Stuck in this code....i got a wrong in waiting list....plz i need your help...


    void waitinglist(int choice, int plane[11]){

    cout<<"First Class"<<endl;
    cout<<"...
  23. Replies
    5
    Views
    1,031

    #include #include using...

    #include<iostream>
    #include<conio.h>
    using namespace std;

    void waitinglist(int choice, int plane[11]){

    cout<<"First Class"<<endl;
    cout<<" ---------------------\n";
    cout<<" ...
  24. Replies
    5
    Views
    1,031

    Help in 1D C++

    Help !!!!
  25. Replies
    3
    Views
    898

    Hey I get it now.....i solve the misunderstanding...

    Hey I get it now.....i solve the misunderstanding issue.....but there 's a problem....

    this is my output but missing of the final sum of R and C....

    100 101 102 103 104 105 615
    106 107 108...
Results 1 to 25 of 59
Page 1 of 3 1 2 3