Search:

Type: Posts; User: sash_007

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    i got this working (check my last reply)thank you...

    i got this working (check my last reply)thank you and Salem for helping me learning how to add files in project and not to include .cpp files like i did before.. much appreciated
  2. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    ok things worked when i removed from people.h...

    ok things worked when i removed

    from people.h

    new people.h

    #ifndef PEOPLE_H#define PEOPLE_H


    #include<string>
  3. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    main.cpp #include#include...

    main.cpp


    #include<iostream>#include "Birthday.h"


    #include "People.h"


    using namespace std;
  4. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    ok i made new project watermelon and added all...

    ok i made new project watermelon

    and added all source and header files but still getting error?

    15846
  5. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    ok thanks i will try this

    ok thanks i will try this
  6. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    do note since i am creating mutipleclass files...

    do note since i am creating mutipleclass files for each topic i learn i am making seperate folders fore each and then creating class inside that folder

    in this case its composition folder

    in...
  7. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    you mean i have to make a new project defining...

    you mean i have to make a new project defining new paths

    from here

    15841

    and then compile ?
  8. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    error is in Birthday.cpp 15840 without...

    error is in Birthday.cpp

    15840

    without including .cpp files the program is not even running no errors either
  9. Thread: Class error

    by sash_007
    Replies
    13
    Views
    369

    Class error

    Hello friends,
    I am trying to access Birthday object from peoples class and display it in main but why the program is getting compilation error?

    here is my code
    main.cpp
    ...
  10. Replies
    5
    Views
    458

    well that program doesnt run on codeblocks i...

    well that program doesnt run on codeblocks
    i understand that it is used to change cursor position but

    what is the use of
    SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord); and...
  11. Replies
    5
    Views
    458

    What is the use of this function?

    hello friends,

    i want to know what is the use of this function


    void gotoxy(int x ,int y){

    coord.X = x;
    coord.Y = y;
    SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord);
  12. Thread: Fault average

    by sash_007
    Replies
    5
    Views
    299

    Fault average

    Hello friends,

    I am trying to make a simple average function but the resukts are faulty

    say i enter 45 ,51 ,23 for 3 numbers but average shows 39.00 instead of 39.66


    #include...
  13. Replies
    7
    Views
    359

    @lasrelight ya i know arrays would be the way to...

    @lasrelight ya i know arrays would be the way to go for tht but i am still new in coding so numbered those variables

    i will try to keep other points in mind

    getch() is not standard? then what...
  14. Replies
    7
    Views
    359

    this actually worked as stahta said to keep...

    this actually worked as stahta said to keep bigger condition first


    #include <stdio.h>#include <string.h>
  15. Replies
    7
    Views
    359

    Why this is happening

    hello friends,

    In this quiz code all the quiz score is counting but everytime

    it shows the msg "you did ok" even after answering all answers correct


    #include <stdio.h>#include <string.h>
  16. Replies
    2
    Views
    280

    Issues with quiz game

    hello friends,

    I am facing some issues with this quiz game

    after you press start and then y and pass the first round of questions

    it comes down to second challenge round of questions where...
  17. Replies
    1
    Views
    267

    Why this quiz game not working

    hello friends,

    I am trying to make a quiz game

    but after you press 'S" and register your name
    then when i press Y so that the quiz start its going back to main menu

    but when i press shift...
  18. this works but after i enter street name...

    this works but

    after i enter street name
    town the cursor jump to country

    #include <stdio.h>#include <stdlib.h>
    #include<windows.h>
    /* Use of typedef in Structure */
  19. okthanks this works #include...

    okthanks

    this works
    #include <stdio.h>#include <stdlib.h>
    #include<windows.h>
    /* Use of typedef in Structure */
  20. yes i understand tht fscanf is input function ...

    yes i understand tht fscanf is input function

    i just want to take data from user and store it in address.txt file
  21. ok i am confused what is the difference...

    ok i am confused



    what is the difference between


    struct home_address2{

    char local_street2[100];
  22. Adding structure data in txt file not working

    Hello friends,

    i am trying to add structure data to txt file but it gives errors


    #include <stdio.h>#include <stdlib.h>
    #include<windows.h>
    /* Use of typedef in Structure */
  23. codewithc

    codewithc
  24. Storing structure data in txt file instead of dat file?

    hello friends,

    I am new to C

    recently i have been studying code of bank management system

    where i see the input files are stored in .dat files

    but i just wonder can i store these...
  25. What is the difference between these 2 void

    hello friends,


    what is the difference between these two functions


    void menu(){

    printf("function 1\n");
Results 1 to 25 of 35
Page 1 of 2 1 2