Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~20.9K People Reached
Interests
I wanna believe!
Favorite Tags

45 Posted Topics

Member Avatar for lara_

You have always the choice cause it C++ it just direct track of the keyboard using terminal for linux just add its segment all will work fine.. like clrscr() also does not work for that is you can use the system() function and type the console command In the program …

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for panpwintlay

Some how the program is correct but the algorithm is not efficient of the large no. see this link [url]http://www.daniweb.com/code/snippet809.html[/url]

Member Avatar for Momerath
-1
1K
Member Avatar for rhoit

This is the program to print all possible combination of the string. It was orginally written in C++. Now i'm trying to write it in C but stuck with this problem of strings and pointers + some warnings. INPUT is taken from argument, which is "const **char" . I tried …

Member Avatar for rhoit
0
368
Member Avatar for rhoit

i don't know how it happen but the exe formed after compilation was 1.23 MB which has never happen before.

Member Avatar for rhoit
0
368
Member Avatar for rhoit

I am trying to move the huge no of file into different folder.. the files in the style of "HNI [0-9]{3}.*.jpg" i.e [ICODE]HnI 001.Sunday Party.jpg HnI 002.Car.jpg . . . and so on[/ICODE] I want to place the certian no of files in the single folder like.. .[ICODE]mv file1 file2.... …

Member Avatar for rhoit
0
450
Member Avatar for rhoit

[CODE] #include <iostream> int main() { for(int i; i<3; i++){ volatile char str[]="hello\n"; std::cout<<str<<std::endl; } return 0; } [/CODE] Why? its gives output [ICODE] 1 1 1 [/ICODE]

Member Avatar for rhoit
0
541
Member Avatar for rhoit

what is this "Werid charaters" its screwing my downloads... but echo seems to be find can any one know the solution pls!!! THis is what i did.. .only 1st seq goes fine... something goes stupidly wrong with this stuff.... [CODE] rhohit@64box:~/383 Anxious Friends$ for i in $(seq -w 1 18 …

Member Avatar for rhoit
0
128
Member Avatar for rhoit

How to fill array with any no like using zeros and ones. i'm new to python and i can't find the answer....

Member Avatar for rhoit
0
91
Member Avatar for rhoit

I was trying to Compare the 5 Sorting Algorithms using 4 test cases. [U]Sorting Algorithms[/U] [LIST=1] [*]Selection Sort [*]Insertion Sort [*]Bubble Sort [*]Quick Sort [*]Merge Sort [/LIST] [U]Test cases[/U] [LIST=1] [*][URL="http://the.nube.googlepages.com/Sort.Analysisplot1.svg"]Random Data [/URL](completed) [*]Reverse Sorted Data (completed) [*]Almost Sorted Data (can't generate Data) [*]Highly Repetitive Data (can't generate Data) [/LIST] …

Member Avatar for rhoit
1
871
Member Avatar for rhoit

hi every one.... i was trying to rename the no of files [QUOTE] Like "Prison.Break.S01E01.HDTV.XviD-LOL.srt" to "Prison Break.101.srt" and so on to the following files Desktop/1/Prison.Break.S01E01.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E02.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E03.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E04.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E05.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E06.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E07.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E08.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E09.HDTV.XviD-LOL.srt[/QUOTE] i tried to use [CODE]$mv "Prison.Break.S01E0[1-9].HDTV.XviD-LOL.srt" "Prison Break.10[1-9]" mv: target `Prison Break.10[1-9]' is not a directory …

Member Avatar for nezachem
0
198
Member Avatar for rhoit

Little bit help here i wanna cp the no of files listed in text file... i tried to use [CODE]for songs in $(cat "~Desktop/1/list.txt"); do cp $songs NewSongs/; done[/CODE] but my text file has the path with spaces like /home/rhohit/Music/00 Database/Albatroos/Albatroos/Albatroos - 01.आवाज.mp3 /home/rhohit/Music/00 Database/Albatroos/Albatroos/Albatroos - 02.खसेका तारा.mp3 /home/rhohit/Music/00 Database/Albatroos/Albatroos/Albatroos …

Member Avatar for Aia
0
98
Member Avatar for rhoit

[CODE=cpp]struct Table { char* aTag; char* bTag; }; int main() { Table T1; cout<<T1.aTag; cout<<T1.bTag; return 0; }[/CODE] This might be crazy but... i really need to know is there any way to so that we can only write [CODE=cpp]cout<<aTag cout<<bTag [/CODE]instead of [ICODE]T1.aTag[/ICODE] like we do in [ICODE]namespace [/ICODE] …

Member Avatar for mrnutty
0
294
Member Avatar for rhoit

01 Why i am not able to do this [CODE]int* px; px = new int[2][2]; [/CODE] other the [ICODE]px = new int[2*2];[/ICODE] is there any other method 02 Why i am not able do access through pointer dx by [ICODE]dx[1][2][/ICODE] other than by using [ICODE]dx[1*7+2][/ICODE] [CODE=cpp] static float mat[5][7] = …

Member Avatar for Sky Diploma
0
135
Member Avatar for rhoit
Member Avatar for rhoit

Just playing with the no. points used in the program: 1. Even no cannot be prime except 2 2. % division of odd by even cannot be 0

Member Avatar for muthu_tek
0
126
Member Avatar for rhoit

Just playing with the no. points used in the program: 1. Even no cannot be prime except 2 2. % division of odd by even cannot be 0

Member Avatar for WXuan
0
183
Member Avatar for rhoit

Nothing but the VERY HARD Work out for long day and night. It was actually i made it for my project work which my friend loved it very much. This might be the useful stuff to you also. Ya Now days rarely anyone uses the BGI stuff but also it …

Member Avatar for mukulbudania
0
194
Member Avatar for rhoit

I was writing the program for revised simplex method in devc++ (windows) and it was working fine... Now I am using ubuntu and trying to run the same program.......(with few changes) i compiled successfully using g++ but when i run it run but showed error some what like: [QUOTE]rhohit@Trashbox:~$ g++ …

Member Avatar for Salem
0
205
Member Avatar for namehere05
Member Avatar for rhoit

cout<< worked out for every other pointer data type but... when char is fed it show the pointed address.....(which every one knows) but i want to see the address stored in the char pointer how to see it.. i was thinking using `printf()` but ruined out by not knowing what …

Member Avatar for Tom Gunn
0
185
Member Avatar for rhoit

Why Can`t member function be called by pointer object of class/struct. i was trying to call the member fuction of struct though pointer object it showed me error like request for member 'Table::reveal' in `T1`, which is of non-class type 'Table*' where, Table is structure reveal is member function T1 …

Member Avatar for rhoit
0
269
Member Avatar for JameB

Ya only two choices .... 1. Keep track of insertion and deletion as said above. 2. OR Count all over again

Member Avatar for arshad115
0
159
Member Avatar for rhoit

hey my task manger look like something else... without the menu... Just cheak the picture... Does any one has the clue..

Member Avatar for Laser
0
229
Member Avatar for encee

try this out i will work i used fgetc, iguess you should know that its interger not some string to store in. ASCII 48 = 0 and so on.... [CODE=c++] #include <iostream> using namespace std; #define size 10 int main() { int no[size], temp=0, i; FILE *fp=fopen("textfile.txt","r"); int ch=fgetc(fp); for(i=0; …

Member Avatar for me_ansh
0
1K
Member Avatar for rhoit

I was creating some sort of text editing program. Whose display and file writing are going parallely. How to clear the character in the file when i dont back space. I tried clear character by replacing with Space(32), NULL(0), but it didn't workout fine.. just replacing the character...how do delete …

Member Avatar for Murtan
0
136
Member Avatar for NinjaLink

[QUOTE=Lerner;740687]your coded logic reads something like this:[code] get information from user, but ignore it for as many songs as there are in the list if list is longer than two delete the second song in the list else assign a value to a flag but never evaluate the flags value[/code] …

Member Avatar for NinjaLink
0
146
Member Avatar for Gamergirl22

Nice thought to use the recursive function... recursive function should have the terminating point which in the conversion always turn to 1 at last. [CODE=cpp] void binary(int num) { if(num!=1) { int rem=num%2; binary(num/2); cout<<rem; } else cout<<num; } [/CODE]

Member Avatar for Gamergirl22
0
180
Member Avatar for rhoit

I decided to learn the template any how.... but... Each level is giving me the trauma staring up with the domino one after another.. please help.... Problem is I use both printf(); and cout<< for the console output... now the problem lies that i can't just leave one of them.. …

Member Avatar for StuXYZ
0
104
Member Avatar for ryan311

dont just copy the code,match the braces it is just a code snippet so use the correct syntax [CODE]Private Sub cmdSwitch_click() if picture1.picture ="D:\hehe\Winter.jpg" then picture1.picture = LoadPicture("D:\hehe\Sunset.jpg") else picture1.picture = LoadPicture("D:\hehe\Winter.jpg") end sub[/CODE] also check the button name....i mean ur caption is switch ,so i assumed ur button name …

Member Avatar for QVeen72
0
107
Member Avatar for n3XusSLO

it is becoz of the scope of the variable one declare out side the function is in the Global Scope and other one is inside the Function having the Function Scope ... now how question is if the variable name is same then... how does it works... Answer is ... …

Member Avatar for Lerner
0
192
Member Avatar for britishemo15

ya using the getch is the good idea to tap the keyboard.. but i guess its not pretty good idea to use the getch() directly since it waits for the keystroke.. always and pause the screen... you can use it like this.. for eg.. [code=cplusplus] if(kbhit()) { switch(getch()) //monitor key …

Member Avatar for MosaicFuneral
0
1K
Member Avatar for rhoit

I am new to the templates.. I was trying to implement templates in my x programs.... and i am stuck ... help me... problem is with the "search" function when i was not using templates search function was [B] Stack::Nodeptr Stack::search(char item)[/B] and worked perfectly fine.. when using templates... i …

Member Avatar for Lerner
0
171
Member Avatar for cicigirl04

This is one of the most crazy style of programming which i have ever seen... ok let me make it in point wise 1. What kind a for variable the mean is? [CODE] void ComputeMean (double mean, int sum) { { mean = 1.0 * sum / MAX; } cout …

Member Avatar for sidatra79
0
130
Member Avatar for wqzerboom

Its the simple question ... When we use to learn the C++ This type of Sorting is known as [B]Selection sorting[/B]... Rest you figure it out...:D

Member Avatar for rhoit
0
186
Member Avatar for anny**

[QUOTE=anny**;709326]hi to everyone !!! anny here ,. i want to make a program using c which can calculate following functions :: [COLOR="red"][B][I]sin,cos,tan,+,-,*,/,iverse,log,ln,exp,sqrt,raise to power 100,10,2[/I][/B][/COLOR] plz plz if anyone can help me by giving me some idea about it and which is somthing of beginners level !! thanxx alot ![/QUOTE] …

Member Avatar for ahamed101
0
178
Member Avatar for egolovin

I guess using string is not the good idea. What we use to do was.... some how take the binary in the int or long. then take a loop and extract the element one by one form the last... I guess this is the efficient method.. some how you are …

Member Avatar for egolovin
0
334
Member Avatar for JackDurden

Character can be inserted to an no. eg. int. I that situation the char ASCII code is copied to the int. like for example A=65 a=97 As you program look confusing i'm sorry i can't tell you more. But if you are really up to linking pointer and array this …

Member Avatar for rhoit
0
98
Member Avatar for core2d

This might help you... [CODE] #include <iostream> #include <stdio.h> #include <conio.h> using namespace std; typedef struct node *linklist; struct node { node *head; int info; node *tail; }; struct dqueue { linklist front, rear; }; void insert(dqueue &, int, char); int remove(dqueue &, char); void display(dqueue &); void menu(); int …

Member Avatar for rhoit
0
97
Member Avatar for rhoit

I create the simple template structure like this [CODE] #include <iostream> template <class info> struct box { info data; }; int main() { box<int> b1; b1.data = 1; std::cout<<b1.data; return 0;typedef box square; } [/CODE] Now i want to use the typedef for this template structure. I could not figure …

Member Avatar for rhoit
0
2K
Member Avatar for alleycot

Can i have 4 Grater-cake and 2 Icy-mint Please .... You can send me bill after you have finish writing the program...:twisted:

Member Avatar for Ancient Dragon
1
266
Member Avatar for FAZ3

I'm just creating the simple independent function to show how to it. Since don't have seen the full program... and don't know what you have declare...etc.. Replace the element at the "n"th position of the link list.. Considering .. node as [CODE] typedef struct node *Nodeptr; struct node { int …

Member Avatar for stilllearning
0
103
Member Avatar for rhoit

I am trying to built the program for handling polynomial... using linklist.... and so far i tried to implement in the Class to add the 2 polynomial using the operator overloading i got messed up with the some objects.... i have commented the parts please help..... [CODE] #include<iostream> using namespace …

Member Avatar for sarehu
0
142
Member Avatar for unk45

#include <iostream> int stripspaces(char *); using namespace std; int main() { char ar[100]; cout<<"Enter a sentence and I will strip out the spaces: "; cin.getline(ar,100); cout<<"No of spaces: "<<stripspaces(ar) <<"\nYour sentence without spaces is \n\t"<<ar; return 0; } int stripspaces(char *str) { int spacecounter = 0; char *p= str; int …

Member Avatar for unk45
0
275
Member Avatar for rhoit

I'm just a new to autocad and I am quite familariar with the engineering drawings. Since in the othographic view we need to draw some view like top view, front and the side view. I came to know about the something transform of 2D figure to the 3D using more …

Member Avatar for rhoit
0
117
Member Avatar for masonbill

[QUOTE=masonbill;571931]Spell check acknowledges miss spelled words but the suggestions are grayed out. I have tried a detect and repair of Office. I even went as far as reformatted the hard drive and the same thing when I install Office 2003. Any ideas on how to fix this?[/QUOTE] Ok dude, I …

Member Avatar for masonbill
0
102

The End.