Search Results

Search: Posts Made By: vineetjoshi
Forum: Programming 02-08-2011
8,317
Posted By vineetjoshi
String reverse
Hi all,
I jus wanna print string b after reversing it. but the out put is blank. My code snippet is below. :wall:

int main()
{
char * a, * b;
b = new char;
a = new char;
int len,...
Forum: Programming 02-07-2011
1,861
Posted By vineetjoshi
#include <iostream.h> void swapr (int * x,int *...
#include <iostream.h>
void swapr (int * x,int * y);
//shoule be return int,your style is old-fashioned
int main()
{
int a=10;
int b=20;
//swapr needs two parameters of int *,it's a...
Forum: Programming 02-07-2011
1,510
Posted By vineetjoshi
Bus error in tree insertion
Hi, I am new to C++ and unix. I am trying to write a programm for inserting elements into a binary tree. To get the code flow I used few Couts and m facing buss error while insertion.
Below is the...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy