| |
thread by: akshatha kini |
last post Oct 19 '15 by: weaknessforcats
what is the purposes of the keyword void?where is this keyword is used?
|
thread by: piu15 |
last post Oct 19 '15 by: piu15
line 15:type mismatch in redclaration of 'merge'
#include<stdio.h>
#include<conio.h>
void mergeSort(int x,int lb,int ub)
{
int m;
if(lb<ub)
{
m=(lb+ub)/2;
|
thread by: 19is97 |
last post Oct 19 '15 by: weaknessforcats
Hi, I'm new to C++ programming and this program basically needs to populate an array with integers from the user and display the array as part of a string. The catch is that I have to use specific functions given to me. However, one of them(populate_array() ) keeps bothering me to return a value but I don't know how to fix it. Any help would be...
|
thread by: Shady2 |
last post Oct 17 '15 by: weaknessforcats
NEED HELP..!!!
Guys I have been given a project to create a C++ program to manage staff of a school. I can Do the programming part But I wanted to know that is there any way through which I can use SQL in my program. Because, you know, storage and usage of data is way easier in SQL. So is it possible? If yes, How?
Thanks.
|
thread by: Menen |
last post Oct 16 '15 by: Menen
Hello,
I want to read multiple bytes from ADXL345C sensor and someone suggest to use :
int16_t m = foo.read();
but I didn't understand what foo.read() do!!! can somebody help me?
|
thread by: ungetuem |
last post Oct 14 '15 by: donbock
i just started learning C, but after i finished writing this programme, it wouldn't respond to the number that i had entered. can anyone please tell me what is going on? thx!
|
thread by: yashmohan |
last post Oct 11 '15 by: weaknessforcats
void initial::update_balance(int t_accno,char t_name,char t_address,float t_balance)
{
int recno;
recno=recordno(t_accno);
fstream file;
file.open("INITIAL.dat",ios::out|ios::ate);
strcpy(name,t_name);
strcpy(address,t_address);
balance=t_balance;
int location;
|
| |
thread by: gneisler |
last post Oct 9 '15 by: weaknessforcats
I can not get this program to work.
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
const int SIZE = 80;
|
thread by: zeroxster |
last post Oct 9 '15 by: zeroxster
Hi there,
Iam a beginner in c language. When I try to run a set of code I get two errors. One is expression syntax error and the other error says " variable is assigned a value that is never used".
Please help me with this
Find my code here
|
thread by: abhi17 |
last post Oct 6 '15 by: weaknessforcats
this expression has undefined o/p but how could it give 4 4 pls suggest any possible mechanism by which 4 4 is produced
|
thread by: alsahfi |
last post Oct 6 '15 by: weaknessforcats
/*header file declare*/
#include<stdio.h>
#include<conio.h>
void main(){
/*Declare local variable*/
char ch;
int valuea;
int valueb;
|
thread by: sandy04 |
last post Oct 4 '15 by: weaknessforcats
#include <iostream>
using namespace std;
int ConvertToBinary (int);
int main()
{
int num;
cout << "Input Number";
cin >> num;
cout << ConvertToBinary(num);
|
thread by: xenium |
last post Oct 4 '15 by: weaknessforcats
While compiling my code in turbo C++
error "Segment _TEXT exceeds 64k" shown
what does it means and how to solve the problem?
|
thread by: JabirFarah |
last post Oct 3 '15 by: donbock
Hi guys,
i apologize for my lack of knowledge or how silly this question may be, but can someone explain to me how does ndebug cancel the assert function of C? and an example would be most useful, if possible of course.
Thank you for your time!
|
thread by: rupalkataria |
last post Oct 2 '15 by: rupalkataria
|
| |
thread by: Clearner321 |
last post Oct 2 '15 by: weaknessforcats
I was trying the program to calculate the factorial of a number. The program is to identify the value of number at the which the factorial crosses the range of the data type. How should i do this? Please help me for the logic. I want to accommodate all kinds of data types.
Thanks.
|
thread by: rashi agrawal |
last post Oct 2 '15 by: weaknessforcats
how to print :
1) 3 2) 1 2 3 3) 1 2 3 4) 1
6 5 4 5 5 6 4 5
7 8 9 7 9 7 8 9
|
thread by: gneisler |
last post Oct 1 '15 by: gneisler
I am having trouble cleaning this mess up. This overloaded program is supposed to utilize an overloaded equality operator that should return true if the two student’s objects are equal and false if the two are student objects are not equal. And include an overloaded assignment operator in the Student class that assign one Student object to...
|
thread by: silencejk |
last post Sep 30 '15 by: weaknessforcats
I have a problem that involves the use of a structure and pointers (not allowed to use arrays). I have to add a record using pointers and memory allocation and then eventually delete records. I do not know how to use memcpy to copy the structure itself to add to the program.
I have a structure:
struct childrensBook //Structure of books using...
|
thread by: Rifki |
last post Sep 29 '15 by: jaseel97
#include<iostream.h>
int main()
{
char *nama_siswa;
int nilai_1;
int nilai_2;
int rata_rata;
char *phi;
int r;
int luas;
|
thread by: SelNasser |
last post Sep 28 '15 by: donbock
Hi all,
I'm working on an assignment and I've been asked to change my code so that I am not using any if or if else coding...
So as of now, my full code works perfecting but uses If Else and I've been trying everything but I can't seem to find a good alternative. Here's a small sample of what I have, I don't want to post the whole thing...
|
thread by: Freshmen |
last post Sep 27 '15 by: Clearner321
for(int k=1;k<=num;k++)
printf(\nPlease enter your desired seat %i: ",k)
scanf("%i",&a);
//num is declared if how many the user will input
How to use scanf?
|
thread by: JollyGoodDaySr |
last post Sep 27 '15 by: weaknessforcats
I have been at this for hours now, and I cant get the damn thing to work. every time I try to just stuff that should work it comes back with weird errors. Please help I have no idea how to fix it. Ill put the errors i get at the bottom of the code.
#include <stdio.h>
#include <stdlib.h>
void arithmeticSequence(void) {
int a = 1;
int y =...
|
| |
thread by: chandresh |
last post Sep 24 '15 by: weaknessforcats
How to print hello world in double quote in c ?
|
thread by: Manoj Manu |
last post Sep 24 '15 by: Manoj Manu
Hi, I just confused with strtok() functionality.
while Iam trying to know about strtok() function, I found a sample code in one of the C websites. After executing that code what i come to know was "the string which we are giving" was separated and printed as a separate strings. The below code is that reference code.
#include <stdio.h>...
|