Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
56% Quality Score
Upvotes Received
12
Posts with Upvotes
11
Upvoting Members
10
Downvotes Received
12
Posts with Downvotes
9
Downvoting Members
7
8 Commented Posts
0 Endorsements
Ranked #914
~62.8K People Reached

76 Posted Topics

Member Avatar for Agouri

Well... that is one option or you could alternate between printing and writing blank spaces over the written text ( like clrscr(), bt not using it ) with a delay command in the middle... You can keep doing that in a while loop until u press enter! Example code below …

Member Avatar for BeautyBeast
0
783
Member Avatar for lara_

Wow !! Now thats a heated argument. Coming to whats been asked: Replacement for getch() - getche() (similiar functioning) Code for taking in a character for password and printing the * after that : [CODE] char pwdin[50]; while(pwdin[i]!='\r') {gotoxy(41 + i,11); //Entering password pwdin[i]=getch(); if(pwdin[i]=='\b') //'\b' for recognising backspace {gotoxy(40 …

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

Python Girl, i think there are too many applications running on ur system and they need time to shut down properly... And probably, ur system is just overloaded beyond its optimum capacity... Could u tell us about your Computer Specs ?

Member Avatar for lilgjems
0
558
Member Avatar for Slate2006

[B]For accepting a String :[/B] Cin works for accepting strings till a space is discovered. Instead of using cin.getline you can also use the gets() [available under string.h] function which accepts a string. It stands for 'get string'!! [B]To Find Length of String :[/B] Two ways : 1) Use strlen() …

Member Avatar for Sebelius
0
1K
Member Avatar for MasterHacker110

No idea... I've got A Dual Core Processor and a 2 GB Ram and was able to play the game without a problem... Switch off all unnecessary things.. Like for example : The windows sidebar.. Thats a pain.. takes up unnecessary ram space.. Switch of all downloads.. Web browsers, music …

Member Avatar for MasterHacker110
0
2K
Member Avatar for RonKevin

Are u using Windows Vista by any chance ?? I've had the same problem.. Its a software glitch which was modified by a service pack update... Check if u downloaded that... If nt vista, then i dont know, could be a virus or probably some sort of parental controls :P

Member Avatar for RonKevin
0
132
Member Avatar for AKingston

Agree with Caperjack... Its usually caused by bad hardware - graphic cards, ram's etc.. Since u mention system memory dump and that too while playing games... Its just that either ur graphic card or ur ram is getting full too fast and is not being able to dump the memory …

Member Avatar for jeremaih
0
139
Member Avatar for goose001

Happened to me on my HP Laptop once before.. I finally had to throw that beautiful piece... And i did exactly the same thing.. But in my case, while inserting the RAM i managed to bend a part in the seat... Tried fixing it with a screw driver, ended up …

Member Avatar for deo2_mansehra
0
203
Member Avatar for SalicBlu3

The only way u can make space for new data while the user input, i.e simultaneously is through dynamic allocation... U can look up the functions 'new' and 'delete' which are used for allocating memory dynamically and releasing dynamically alloted memory respectively..

Member Avatar for m4ster_r0shi
0
133
Member Avatar for Vish0203

U could try invoking the exe file using command prompt... which u could initiate by using the 'system' command..

Member Avatar for Sky_Flyer
0
194
Member Avatar for DubyStev

Quoting the above people, its very simple... Two ways: 1) Passing through Arrays 2) Passing using pointers First Method : void function( float a [ ][ ] , float b [ ][ ] ) Second Method : void function (float *a, float *b)

Member Avatar for mike_2000_17
0
241
Member Avatar for lewashby

Yup... agree with him.. When u use srand, irrespective of when u run the program and when it isnt initialised with a random variable at any time, it will always generate the same set of random numbers... Run it at 4:00 Am, it'll probably generate 4,7,8,3,2.. Run it at 4:01 …

Member Avatar for ravenous
0
153
Member Avatar for Azmah
Member Avatar for Arandora
0
467
Member Avatar for acejames1

Well, u never know.. Apple too claims not to collect user data, but there have been many complaints regarding the same... Though nothing has been proven in the court of law till date..

Member Avatar for acejames1
0
247
Member Avatar for prasanna123

Well.. m sorry to go against what u just said zeroliken, but it isnt undefined... Its how the prefix and postfix operators work.. int main() { int i=1; printf("%d,%d,%d",i,++i,++i); return 0; } Try this and this should give u the output as 1,2,3.

Member Avatar for Sokurenko
0
191
Member Avatar for dannyfang

Guys i highly doubt that a junior computer science student will understand concepts like pointers when hes having problems with infering basic textbook examples... Lets just try to tone it down a tad bit so that people do get the answers to their solutions and dont end up getting confused.. …

Member Avatar for Sokurenko
0
664
Member Avatar for hwoarang69

What ur doing is putting a '1' wherever the condition is satisfied right? But what ur forgetting to do is adding a space whenever its not satisfied... Which is why there is a spacing problem.. Whenever the condition for printing '1' isnt satisfied, ask the compiler to print a space... …

Member Avatar for hwoarang69
0
207
Member Avatar for Kerrai

Yeah, i had the same problem... The solution i found to it, that is without using dynamic allocation, is writing all my data down into a separate file.. And then sorting the elements in the file by using functions like seekg() and tellg(). And after which u can read out …

Member Avatar for Kerrai
0
456
Member Avatar for sidra 100

Umm... u sure u added the header file ? I know it sounds rather stupid even mentioning it, but it is a pretty rookie mistake.. !! Add the header file and try clrscr() , like this below : #include<conio.h> void main() { clrscr(); getch(); }

Member Avatar for adityatandon
0
213
Member Avatar for amethystglow

U cant have more complicated programs in addition of matrices... Its just a very basic concept... Well, but yeah, u could try addition of matrices by dynamic allocation instead of static allocation... That could give u the much sought after challenge u need...

Member Avatar for adityatandon
0
642
Member Avatar for rony.united7

Yup... Its compiler and os dependent.. For example, when using turbo c++, u cant use colors with cout, u have to use cprintf... If u use cout, it just comes as the default color..

Member Avatar for adityatandon
0
144
Member Avatar for haven_u

Nope... C++ doesnt support that... When reading data from a file, which once had data written into it using a matrix(arrays) , structures or classes, their definitions have to be stuck to... So, u cant read a file i wrote using 2 variables of int in a class, by using …

Member Avatar for adityatandon
0
132
Member Avatar for nathaniscool99

Yup.. u can use it by using 'cin.getline(temp1)'... Also make sure u make 'temp1' an array of say about atleast 15 characters so that the compiler has enough space to read data into the array !!

Member Avatar for adityatandon
0
171
Member Avatar for nathaniscool99

Dude.. dont look into the text file.. It'll probably show weird symbols and characters.. Its the computers way of storing data... U'd probably have entered stuff like : 12, Jake is a monster, I dont like him ... etc But wt u'll see in the text file when u see …

Member Avatar for adityatandon
0
8K
Member Avatar for jeav12
Member Avatar for cool_zephyr
Member Avatar for Mojtabarahimi

Does 'printf' still work with c++ ? I thot 'cout' in dev and turbo c++ and std :: cout for vc++ . Though printf does work in turbo and dev c++ ...

Member Avatar for Ancient Dragon
0
391
Member Avatar for raj874

This is a windows (win32) API programming question, not a C question. FindWindow() returns NULL if it can't find a window matching the supplied arguments. And yes, are you sure that the Windows Task Manager was even open when u ran this program ???

Member Avatar for adityatandon
0
123
Member Avatar for sumanth.boss

> Quoted Text Here > You can't do that with Turbo C++ because it's too old. Get a modern 32-bit compiler such as Code::Blocks or VC++ 2010 Express. Tubeo C++ is a MS-DOS only compiler Well, i disagree... It is possible...I've done it myself.. U just have to make sure …

Member Avatar for adityatandon
0
374
Member Avatar for Valiantangel

Thats because u put the value of a[2] into a[1] thats why. Luk at ur 3rd statement... If u put a[1] = a[0] and then print a[0] and a[1], ur output will be 1.1 1.1 !! I think u shud read up on arrays !!

Member Avatar for jaskij
0
97
Member Avatar for jakezcop

Well, ur not the only newbie who lands up in this problem... Its pretty normal.. The solutions pretty simple.. Ur just not opening the directory properly.. Problem lies inside the double quotes. 1) Ur using the wrong slash, instead of backward slash ( \ ) you're using the forward slash …

Member Avatar for jakezcop
0
2K
Member Avatar for triumphost

It isn't something of bad or good than necessity.. I used to think writing all the function definitions of the class is better as it saves me time, space and effort.. Yes that is true only when u are making a small program.. When u start making a program which …

Member Avatar for mike_2000_17
0
2K
Member Avatar for MrEARTHSHAcKER

Well.. u can just use the function [getche()](http://www.programmingsimplified.com/c/conio.h/getche). It performs the same operation as getch(), but the only difference is that in getch() u have to press the enter key after u give the character, whereas in getche() u dont have to press an additional enter everytime after pressing the …

Member Avatar for triumphost
0
330
Member Avatar for Chuckleluck

http://www.geometrictools.com/LibMathematics/Intersection/Intersection.html http://gamedev.stackexchange.com/questions/12106/line-rectangle-collision-detection-and-response http://forums.codeguru.com/showthread.php?t=478118

Member Avatar for adityatandon
0
234
Member Avatar for iismitch55

Refer to this thread : http://www.daniweb.com/software-development/cpp/threads/423225/making-dos-window-disappear

Member Avatar for adityatandon
1
11K
Member Avatar for theashman88

U really shouldnt try DevC++ with windows 8, firstly coz its probably a beta version of windows 8 ur running and secondly.. DevC++ = Steam Engine, Windows 8 = Ferrari... U fit a steam engine into a ferrari.. its surely not going to work... Try running DevC++ in the windows …

Member Avatar for adityatandon
0
616
Member Avatar for lewashby

Ok.. theres not much of a difference, but as far as i know.. they both go down to the basics.. Wen u use (double) variable in the above case the value of the variable is changed by adding more accuracy wen u go from a lower to higher data type …

Member Avatar for adityatandon
0
148
Member Avatar for jeswill

Well.. then i think u shud read atleast a book before starting.. Regarding ur answer.... [CODE]#include<iostream.h> #include<conio.h> int main() { cout<<"This is to make a beep\a"; return 0; } [/CODE] Its basically the "\a" that makes the beep.

Member Avatar for zeroliken
0
843
Member Avatar for jman2011

[CODE]int j=0; for(int i=0;i<26;++i) if(isupper(string[i])==1) j+=1; [/CODE]

Member Avatar for WaltP
0
195
Member Avatar for Shaye12321

well.. yeah.. but that doesnt work for everything.. Take a char variable and keep reading one one character from a file.. As soon as the character it reads is a space, increment a value of a variable, say i, by 1... So in effect, what ur duin is counting spaces!! …

Member Avatar for WaltP
0
205
Member Avatar for jonnyboy12

Well.. i got ur point. Coz i made an installer exe file myself, coz i needed it for a project recently.. There are two ways this can be done.. 1) Using WinRAR 2) Using an inbuilt utility in windows [U][B]First Option[/B][/U] Create a RAR file out of the project( basically …

Member Avatar for adityatandon
0
121
Member Avatar for a.muqeet khan

Its very clear what your problem is ! You are opening the file using object inline without describing any mode... You have used fstream inline. If you would like to use the file to input data into the file use ofstream inline and if you would like to view data …

Member Avatar for thines01
-1
386
Member Avatar for raj236712

Umm.. u dont need all that in it... All u need is random characters showing up in different spaces and they should be green in color !! And yes shud give the illussion of moving upwards in a straight line !

Member Avatar for WaltP
0
581
Member Avatar for yinyue

Sorry guys, i just HAD to repost the code as it was practically unreadable without code tags and indentation. [CODE] #include <stdio.h> #include <string.h> #include "cv.h" #include "cvaux.h" #include "highgui.h" //-------------------- DECLARATIONS ----------------------------- int nTrainFaces=0; int nEigens=0; IplImage ** faceImgArr =0; CvMat * personNumTruthMat =0; IplImage * pAvgTrainImg = 0; …

Member Avatar for yinyue
0
466
Member Avatar for HacruLeian

Ok... I've gone through ur program.. Few suggestions : 1) There are errors in your main program. The three errors are : a) You are using 'int main' and there is no return statement b) While declaring the array 'array' you havent specified array size(left [] blank) c) After int …

Member Avatar for LRRR
0
2K
Member Avatar for mncoc

You can use ahuja solutions... Thats known as the 'sreedharacharya formula' to find x.. Also.. if it makes things simpler...(which i think it will) x² - sx + p is the general eq of a quadratic eq whose sum of roots is s and product of roots is p U …

Member Avatar for mncoc
0
163
Member Avatar for khelly

First thing, use double quotes to indicate name as pointed out above Secondly, i think giving the file extension is necessary... Eg:babywear.exe or babywear.cpp What type of file is babywear ?? Btw, which version of c++ is this? I dont think ive come across explanation anywhere... (Thats obviously coz i …

Member Avatar for gusano79
0
164
Member Avatar for sansalama

For coloring text in turbo c++, use the textcolor() function which is found under conio.h For bright red use textcolor(12) and for dull red/dark red/maroon use textcolor(4)

Member Avatar for adityatandon
0
121
Member Avatar for wanguard

Dude, thats from icbse.com isnt it ?? I saw the exact same code - found it shit and left it... You shouldnt be copying code and calling it your own !!! [B]P.S - Best way to improve a code - MAKE IT YOURSELF !!!! That way not only are u …

Member Avatar for adityatandon
0
174
Member Avatar for bohling

Hehe.. the sieve of erasthones is nice, but its utilising the same thing i posted in an earlier post..!! That is, if your number is indivisible by the numbers below 10, then it is 90% a prime number !! P.S - This stands true for all numbers that are odd …

Member Avatar for bohling
0
227

The End.