Search:

Type: Posts; User: sash_007

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Bank record getting added on top of existing ones

    Hello friends

    I was trying to make a bank record system following an existing code
    but when i add new account its getting added as i can see in record.dat
    but when i try to add another new...
  2. Replies
    1
    Views
    157

    Graphics in c++ not working

    Hello friends
    I am new to c++ and i have installed graphicsin codeblocks
    following this tutorial How to include graphics.h in CodeBlocks? | Code with C

    but when i try to run this code ..it...
  3. Replies
    9
    Views
    224

    When i select display or sort function the cursor...

    When i select display or sort function the cursor simply moves to next line and the program terminates

    see screenshot
    15909
  4. Replies
    9
    Views
    224

    Hello if the debugger shows no errors how can i...

    Hello if the debugger shows no errors how can i debug?

    when i run the functions individually they run fine

    here is my full code for better understanding


    #include<stdio.h>

    struct student
  5. Replies
    9
    Views
    224

    Some Switch not working in do-while loop

    Hello friends,
    I am newto C and was following tutorial on student record system where you insert,view,search,update,sort and delete functions

    i have no problems with the functions when i run it...
  6. Replies
    1
    Views
    142

    thanks i got this resolved i was using float...

    thanks i got this resolved

    i was using float as marks but added integer in search function

    new code


    void search(){
    FILE *fp2;
    int r,s,avl;
  7. Replies
    1
    Views
    142

    Why the search not working?

    Hello friends,
    I am newto C and was following a c tutorial to make simple student record to insert ,display, search name ,roll number and marks

    here the insert and display function works but...
  8. Replies
    6
    Views
    199

    here is my small input anyone can correct me...

    here is my small input

    anyone can correct me if iam wrong

    #include<iostream>



    using namespace std;
  9. Replies
    1
    Views
    1,244

    Issue while trying to encrypt login system

    hello freinds,
    I am new to c++ and was fololwing a login system tutorial

    everything worked fine till i tried to add encryption

    before encryption
    this actually works and reading data...
  10. Replies
    1
    Views
    139

    Can i replace this with just this

    Hello friends,
    I am new to c++ and was studying the code of a bank record system

    where
    they have used

    #include<iostream>#include<fstream>
    #include<cstdlib>
    using std::cout;
    using std::cin;
  11. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    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
  12. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    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>
  13. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    main.cpp #include#include...

    main.cpp


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


    #include "People.h"


    using namespace std;
  14. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    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
  15. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    ok thanks i will try this

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

    by sash_007
    Replies
    13
    Views
    467

    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...
  17. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    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 ?
  18. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    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
  19. Thread: Class error

    by sash_007
    Replies
    13
    Views
    467

    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
    ...
  20. Replies
    5
    Views
    520

    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...
  21. Replies
    5
    Views
    520

    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);
  22. Thread: Fault average

    by sash_007
    Replies
    5
    Views
    352

    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...
  23. Replies
    7
    Views
    445

    @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...
  24. Replies
    7
    Views
    445

    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>
  25. Replies
    7
    Views
    445

    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>
Results 1 to 25 of 45
Page 1 of 2 1 2