I agree to your point and at the same time i disagree too(as this applies to programmers who got the hang of things not for newbies)
when i am copying someones code that doesnt mean i will copy...
Type: Posts; User: sash_007
I agree to your point and at the same time i disagree too(as this applies to programmers who got the hang of things not for newbies)
when i am copying someones code that doesnt mean i will copy...
ok i got this fixed ..thanks everyone for their input
@salem what do you mean by that? i never said i am writting the code myself
@hodor the first time i posted that project code ..at that time...
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...
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...
When i select display or sort function the cursor simply moves to next line and the program terminates
see screenshot
15909
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
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...
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;
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...
here is my small input
anyone can correct me if iam wrong
#include<iostream>
using namespace std;
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...
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;
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
ok things worked when i removed
from people.h
new people.h
#ifndef PEOPLE_H#define PEOPLE_H
#include<string>
main.cpp
#include<iostream>#include "Birthday.h"
#include "People.h"
using namespace std;
ok i made new project watermelon
and added all source and header files but still getting error?
15846
ok thanks i will try this
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...
you mean i have to make a new project defining new paths
from here
15841
and then compile ?
error is in Birthday.cpp
15840
without including .cpp files the program is not even running no errors either
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
...
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...
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);
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...
@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...