Forum: C++ 16 Days Ago |
| Replies: 0 Views: 175 Its been a while i have been writing sequential programs .
I have started working on parallel programming using C++ . Since to run those parallel programs in several machines isn't a feasible... |
Forum: C++ 25 Days Ago |
| Replies: 3 Views: 518 well i guess ur asking if total expenses increases more than 50,000 ..?
In that case u can just check the variable total..
Which is been calculated in line 45 of your program .
Just put a... |
Forum: C++ 28 Days Ago |
| Replies: 5 Views: 427 please use the code tags while posting ur code , besides instead of this
for(i=0;i<5;i++)
{if(i==2)
{
for(j=0;j<4;j++)
{BL[2][j]=0;
cout<<BL[2][j]<<" ";
} |
Forum: C++ 28 Days Ago |
| Replies: 5 Views: 481 Well u got to show at least little bit of ur code to expect help , no ones gonna code for u from scratch.
for a start using double link list the below links can help u .... |
Forum: C++ 28 Days Ago |
| Replies: 1 Views: 199 may be using switch , u can give me options on wat he want to do .
And then call the corresponding functions for the option he chooses. |
Forum: C++ 28 Days Ago |
| Replies: 7 Views: 395 Well in that case , i would need to know what exactly ur trying to achieve ?
As far as i can see is that , this is a mere part of ur project or wat ever . it would be better if u could give a... |
Forum: C++ 28 Days Ago |
| Replies: 5 Views: 427 this code is only to set the 3rd row to zero .
Can u post the new code where u have placed the code i wrote above ?
It would be easier for me to diagnose the problem. |
Forum: C++ 28 Days Ago |
| Replies: 1 Views: 295 a similar problem has already been asked in this forum
http://www.daniweb.com/forums/thread238596.html
i guess u will find ur answer there |
Forum: C++ 28 Days Ago |
| Replies: 2 Views: 326 Well i used to get linker errors often , when the paths weren't set.
Check ur directory ( in ur turbo c++ go to options and directories ,check whether u have given paths in include directories and... |
Forum: C++ 28 Days Ago |
| Replies: 5 Views: 427 well in the code set i = 2 (for 3rd row ) and iterate only for the j column and set b[i][j] = 0 ;
i =2 ; // for the 3rd row
for( j = 0 j<5;j++)
b[i][j] = 0;
i guess this should work |
Forum: C++ 28 Days Ago |
| Replies: 7 Views: 395 in ur turbo c== compiler , u can navigate to help (right mouse click) and then search for inp() and outp() .
There u will not only get a decent explanation but also an example with it.
I guess that... |
Forum: C++ 28 Days Ago |
| Replies: 1 Views: 206 Well i guess u will get more apt answers in Qtforum (http://www.qtcentre.org/forum/)
It would be still efficient if ur familiar with python cuz , i have seen many nice applications which are built... |
Forum: C++ 28 Days Ago |
| Replies: 2 Views: 372 Well help will only be provided if u could show your code ... we cannot do ur home work from scratch. |
Forum: C++ 28 Days Ago |
| Replies: 2 Views: 253 In ur turbo C there exist a include folder which contains many header files , ur supposed to place the desired header file in that directory.
PS: For god sake stop using turbo , u have much better... |
Forum: C++ 28 Days Ago |
| Replies: 2 Views: 309 The OP wants to check the existence of 0 in the number only if loop wont suffice , u will have to iterate within a while loop and keep finding the last significant number one after the another and... |
Forum: C++ 29 Days Ago |
| Replies: 5 Views: 269 ohh god , i completely forgot about that..................
Well initially i had used the numbers without the quotes and i was wondering why didnt it work , then i switched over ASCII codes for that... |
Forum: C++ 29 Days Ago |
| Replies: 5 Views: 269 Since u only want the numbers to be recovered , u must be aware of the ascii equivalent for the number
0 - 48
----------
----------
9 - 57
i suggest u make a char variable , fetch... |
Forum: C++ Nov 15th, 2009 |
| Replies: 3 Views: 477 Well i guess , when it comes to WEB ; scripting languages like PHP can be more efficient than C++ , although i admit that i was astounded when i learned about blat , but i guess other scripting... |
Forum: C++ Nov 15th, 2009 |
| Replies: 4 Views: 461 That was a nice link enlightening the procedure.
I would like to add more on it by saying that u could use matrix template library
http://www.osl.iu.edu/research/mtl/intro.php3
It might be... |
Forum: C++ Nov 14th, 2009 |
| Replies: 4 Views: 447 I guess this link might help you .. as even i am interested in this field and i admit that i am a complete neophyte in this too...
http://www.tenouk.com/Module40c.html |
Forum: C++ Aug 23rd, 2009 |
| Replies: 7 Views: 250 ur welcome :) , once ur comfortable with this , u can also upgrade ur self to DIRECTX programming . That will take you to the epicenter of gaming . |
Forum: C++ Aug 23rd, 2009 |
| Replies: 3 Views: 174 here is the basic program which can print itself
#include<iostream>
int main ()
{
int c;
FILE *f = fopen (__FILE__, "r"); |
Forum: C++ Aug 23rd, 2009 |
| Replies: 7 Views: 250 Well recommend openGL , since its got more grpahic options and u will find much more help in that.
i guess these links might help u
http://www.tenouk.com/cncpluspluslibrary.html
... |
Forum: C++ Jun 15th, 2009 |
| Replies: 7 Views: 337 Well when ur project compilation is in process (thats assuming in cd ) does it by any chance create and database or file to store data or any kind of modification or edition happens in that case.... |
Forum: C++ Jun 14th, 2009 |
| Replies: 7 Views: 337 well in that case pal , could u enlighten ur more about the kind of enviornment ur working in and wat is your project all about ..? |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 313 dude i think you havent undestood me .......
i just need some simple fuction which will plot the graph for me when i inout the co ordinates, thats all . there is no complication in it.
i got a... |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 313 well i just need a function which can plot a graph in x/y axis thats it. |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 313 well i am willing to install any libraries.. n working on minGW compiler.
n working on windows , its kinda not possible to change the platform .. but in the worst case that can be considered..... |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 313 i am working on my project which is on regeression of lines .
well i have been successful in fitting a straight line to the given set of coordinates . since i have come so far after a lot of... |
Forum: C++ May 3rd, 2009 |
| Replies: 19 Views: 732 i guess u didnt understand my code..... why dont you execute this code and see how exactly it works.......
and variable can also be put inside instead of boolean, any way 1= TRUE and and 0 or lesser... |
Forum: C++ May 3rd, 2009 |
| Replies: 19 Views: 732 flag is a variable name .. u can also write ur name instead of that.. its just that i am a bit convenient with that name that's its.....
and i am also giving an option in switch case if the user... |
Forum: C++ May 3rd, 2009 |
| Replies: 19 Views: 732 actually u can use a flag......(its just a variable but commonly know as flag when used in such purposes )
void display( )
{
int option, int flag =1;
system("cls"); //clear screen... |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 483 k srry didnt see that ......... well dont worry u get the kudos for that.....
:P |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 483 well i think this should solve your problem.... very well
http://www.cplusplus.com/reference/string/string/find/
:) |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 483 well firstly i apologize that , i didnt quite read ur problem well , since the title spoke for itself.
well i have an easier way to do it .
u get the string thats the text in an array (t in... |
Forum: C++ May 3rd, 2009 |
| Replies: 7 Views: 483 well here is the alog rithm ....
algorithm stringmatch( t[0-n-1] , p[0- m-1])
t = array of text
p = array of pattern u wanna match
{
for i ->0 to n-m do ,
j->0
... |
Forum: C++ Apr 30th, 2009 |
| Replies: 4 Views: 289 i think there is more to observe than to explain in here . i guess it would be prudent if you could run the underneath code and observe the output , it would be crystal clear .
The code does the... |
Forum: C++ Apr 30th, 2009 |
| Replies: 12 Views: 529 well i have compiled it and its giving me the output.....
i work on code blocks and i think its mingw compiler. |
Forum: C++ Apr 30th, 2009 |
| Replies: 2 Views: 424 well at first place ur problem is not a 2d matrix .infact its multi dimensional ..
the following algo might help u a bit.
1. u will have to accept the rows and coloumns and dynamicallyy create... |
Forum: C++ Apr 30th, 2009 |
| Replies: 12 Views: 529 ohh sorry for that ....
i will post the corrected one.......
well i just compiled this and it worked...
#include<iostream>
using namespace std;
struct student |