Posts
 
Reputation
Joined
Last Seen
Ranked #960
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
51% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
2 Commented Posts
~25.6K People Reached
Interests
Reading ,C++ loop patterns
Favorite Forums
Favorite Tags
c++ x 78
c x 8
Member Avatar for pvbhargav

Hi all, I have already used InitGraph and have given the path(C:\\TC\BGI) in Initgraph and checked the Graphics option in Linker Options. Still Iam getting this error. I want a solution. Can somebody pls help me. Its urgent.

Member Avatar for Sun_5
-1
14K
Member Avatar for shinsengumi

can anyone help me make a C program code that will open an image file? i'm using C language and GUI/glade3 alongside it. to help you visualize it, i want to type the image filename in a text view entry and when i click a button (Load for example) the …

Member Avatar for shinsengumi
0
222
Member Avatar for fizzle

Hi all, I'm completely new to C but have dabbled with Bash scripting before. I've been trying to get my head around pointers etc. I have a small routine to check for the existence of a string in a file and print to screen, I claim no originality it's a …

Member Avatar for fizzle
0
160
Member Avatar for aravind s

Hi. I'm new to daniweb and i am also a novice programmer. I have this assignment to get a shape, then a shape inside that one, and then another inside the second one, and then fill each shape in with different patterns. Here is an example. if the user enters …

Member Avatar for hinduengg
0
191
Member Avatar for neotaunter

Please help... This is driving me nuts. I have been searching for an answer to this for a few days now. In c... How do you stop a line feed or new line after pressing enter for an input. I want the printed information to appear on the same line …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for darkscript

This filters out the letters and numbers in the parameters you give it.

Member Avatar for hinduengg
0
123
Member Avatar for hinduengg

Please help me find the sine series . My program is: [code] #include<stdio.h> #include<conio.h> #include<math.h> float facto(int a); int main() { int n,g,k,y; y=1; float s=0.0; float f=0.0; float l =0.0; float x; int t=0; printf(" limit is \n"); scanf("%d",&n); printf(" no. is \n"); scanf("%d",&x); x=3.14*(x/180.0); while(y<(n+1)) { g=y; if(g%2==0) …

Member Avatar for hinduengg
0
138
Member Avatar for winky

Hey guys, First time poster here.:) Just started my C++ career and am working with pointers/arrays at them moment. I was wondering why I cannot take a user input ('n') to create the size of the array "y". Can anyone show me why this syntax is wrong? Thanks for the …

Member Avatar for hinduengg
0
261
Member Avatar for khalidxa

I have been trying to return a two dimensional array in a function but it is getting me no where, please tell me how to do it. the code is as follow : [CODE] int *population();[/CODE] [CODE]int *testCase::population() { for(int i=0;i<3;i++) { for(int j=0;j<2;j++){ matrix[i][j]=rand()%2; } } return matrix[0][0]; }[/CODE] …

Member Avatar for Salem
0
166
Member Avatar for suneel kar
Re: help

how to concat two values without concat function???????? is there anyonw who can tell me solution of above problemmmmmmmmmmmmmmmmm

Member Avatar for Ancient Dragon
0
85
Member Avatar for Firestone

I tried searching the forums for this, but couldn't find anything. If I were to make a career out of computer programming, which would be better to learn, Java or C/C++?

Member Avatar for Rashakil Fol
0
363
Member Avatar for hinduengg

Hello once again . My teacher has given us the assignment to enter a string a [B]maximum of 7 charecters[/B] and permute it. Then print all of possible permutations . Like if the inputted word is JAY so Output would be JAY AJY AYJ JYA YAJ YJA I do not …

Member Avatar for hinduengg
0
1K
Member Avatar for Narue

Let's pretend that I'm interviewing you for a C++ job. I want to know how you[1] approach problems and the extent of your C++ prowess, so I'm going to ask you to solve short problems in C++[2]. These problems range from beginner to advanced, and may be more than they …

Member Avatar for Bench
0
489
Member Avatar for Matt Tacular

I need a way to get a number from the user, break that number up (eg. 1128 into 1 1 2 and 8), and then manipulate each number. Here is what I tried to do, failed horribly: [code]#include <iostream> #include <string> #include <cmath> int main() { string str; int a …

Member Avatar for hinduengg
0
100
Member Avatar for mauro21pl

Hi to all I have a quick question. How can go through the integer to find if there is any specific number. For example my input would be 234446 (integer is of type long),and now I would like to check that integer and find how many 4's are in there …

Member Avatar for mauro21pl
0
107
Member Avatar for varunrathi

i want to clear a string after the prog. has done it`s work. i tried it by using a for loop and assigning a blank, but it didn`t work. the problem is that if i run the program again then the earlier value is displayed again . i`m using Turbo …

Member Avatar for ~s.o.s~
0
94
Member Avatar for hinduengg

Hi to all , I wished if any one of you could throw light on [B]mechanism of insertion sorting in C++[/B]. I know what is bubble sorting but I had confusion regarding what is insertion sorting? In school my professor had mentioned about it, but I do not have any …

Member Avatar for hinduengg
0
193
Member Avatar for daddy89

I made an identical thread for PHP/MySQL, so I figured I would do it again, not only because I need to know, but so it can be stickied and others can use it. Please recommend: Tutorials Schools Books Etc. By the way, I'm speaking of C++, not C or any …

Member Avatar for hinduengg
0
142
Member Avatar for hinduengg

Actually I have been trying to change my member profile features for quite some time but did not succeed . Wish any one could help me. The member profile page has something called "[B]Member Certificate"[/B] but I do not what is it?

Member Avatar for hinduengg
0
149
Member Avatar for kinggarden

Hi, everybody. The question is : if the user input a set of numbers, you don't know how long the set is, like 1, 2, 3, 4, 5, 5, 5, 6, 1, 3, -1, -12141, 123, -1...., you are asked to find the dumplicate numbers in this set. I mean …

Member Avatar for vijayan121
0
700
Member Avatar for bala24

Hi guys and Gals, Have some trouble digesting some facts about Casting in C++. 1). Why can't we use a static_cast for safe downcasting on a polymorphic class? 2).Consider this snippet.. [code] [COLOR=green][COLOR=green][COLOR=green]class[/COLOR][COLOR=green] A {};[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]class[/COLOR][COLOR=green] B { public: B (A a) {} };[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]A a;[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]B b=a;[/COLOR] [/COLOR][/COLOR][/code] [COLOR=green]How …

Member Avatar for thekashyap
0
114
Member Avatar for Teresa_Hall

Hi all - First time posting so please bear with me. I'm in the last week of a C++ class and cannot figure out how to do this assignment. I need to evaluate each character of a string and process using a switch statement. The CASE processing I have no …

Member Avatar for Narue
0
232
Member Avatar for kpillsb39

What i have to create is a program that establishes 2 structs with arrays of CD Albums and then search the arrays for album names and display the album name, Artist or group, songs and their track numbers. My question is; [COLOR="red"]have i missed something in the code?[/COLOR], because it …

Member Avatar for hinduengg
0
220
Member Avatar for bops

Basically I'm writing a function to change all the '|' characters in a string passed as a parameter to '\n' characters. Seems simple enough to do, but I get one of those "Application has encountered a problem and needs to close. We are sorry for the inconvenience." messages. [code=c] char …

Member Avatar for Narue
0
114
Member Avatar for hinduengg

Could you please give some info regarding - What are basically linked lists . I know that they can be used as arrays and stacks and queues. But confused a bit about FIFO and LIFO CONCEPTS. I cant understand how do we always access the stack from top.It is just …

Member Avatar for hinduengg
0
107
Member Avatar for pyapplico

I am a beginner that is learning C++. I would like to now how everyone else learnt C++.

Member Avatar for hinduengg
0
157
Member Avatar for hinduengg

HELLO THIS IS MY FIRST POST. I WISHED IF ANY ONE COULD HELP IN EXTRACTING WORDS FROM A CHAR ARRAY -STRING LIKE IF THE SENTENCE INPUTTED BY USER - [B]JACK WENT UP [/B] THEN I NEED TO PRINT THESE WORDS SEPARATELY ON FRESH LINES OUTPUT- JACK WENT UP [B] I …

Member Avatar for Narue
0
3K
Member Avatar for jenymaru08

please help me i really need this badly i'm trying to write all the possible code but the outcome i needed is not right i write a program that you input a string then the output will be the last letter of you input will come first then follows example: …

Member Avatar for hinduengg
0
93