Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
27% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
~2K People Reached

9 Posted Topics

Member Avatar for some

Hello everyone, I was working on a program that was meant to open something the user put in. Basically, the user would put in the path and then the program would open whatever was there. I can't work it though, every time I put in the file path, it says …

Member Avatar for Lucaci Andrew
-1
229
Member Avatar for some

I don't really know if this is the correct place for submitting this kind of question, but I couldn't really find a good place, any better than this. Anyways, onto my question: I just finished making a new site called SNIP My site works like this: - It is a …

Member Avatar for some
0
92
Member Avatar for apo

[QUOTE=mcriscolo;1177905]You then use: [CODE]printf("%4.3f", myFloatVar);[/CODE] But note that if the value in "myFloatVar" has 2 digits left of the decimal, you'll get those two, along with the 3 past the decimal.[/QUOTE] In my c++ book it shows how to do it differently. I'll just post that up to so the …

Member Avatar for jonsca
0
132
Member Avatar for some

Hello everyone, I have a question regarding advanced file manipulation. I am trying to make a function that will take in a number which will be the number of a record and basically take that record out and display its contents and let the user edit it. Here is the …

Member Avatar for SCarlisle
0
117
Member Avatar for mathpro

[QUOTE=mathpro;1178648]I should have explained a bit more. Tthe qsortselect() function is suppose to be a generic function that takes any values such as int, float, double, etc. So the type is not known. The main method is not important, I just posted it to give an example. Is there a …

Member Avatar for some
0
202
Member Avatar for some

Here is my code, I am trying to make a smaller version of a chatterbot like Eliza. Anyways here it is.[CODE]#include <cstdlib> #include <iostream> #include <cstring> #include <stdio.h> #include <string.h> #include <string> #include <windows.h> #include <fstream> #include <tchar.h> // a few global variables char str[50]; // this one is for …

Member Avatar for some
0
139
Member Avatar for some

Hello everyone, Currently, I am trying to make a smaller version of the famous Eliza bot. I have written a program that can understand and put out replies, but if I want to make it bigger then the code will be thousands and thousands of lines long. And all on …

Member Avatar for Banfa
0
223
Member Avatar for timbomo

hello, it could just be with the placing of the function. Maybe you should try moving it around. I don't know it looks fine to me...

Member Avatar for Fbody
0
165
Member Avatar for timbomo

here is the code for generating random numbers [CODE]int which_Num; unsigned seed = time(0); srand(seed); which_Num = rand() % 5; [/CODE] The number 5 is the max number to be generated you can change it to whatever you need like 100 or 50 or in your case 6. After that …

Member Avatar for Fbody
0
299

The End.