Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
0 Endorsements
~4K People Reached
Interests
coding,art,cricket
PC Specs
hp pro book 4550
Favorite Forums
Favorite Tags
c x 16
c++ x 11
java x 9
io x 7
Member Avatar for Stpdoug

I have another problem this time if anyone can help with random files i am writting and displaying records from the while but i want to display all records in the file that has data say i have 100 records but only 15 contain user data i want to display …

Member Avatar for Stpdoug
0
173
Member Avatar for Stpdoug

Hey guys i am having a problem with displaying a single record out of a text file the code is not reaching the "if" function in the while loop of the "getRecord" Function please help. Everything else is working import java.io.*; import java.util.Scanner; import java.util.InputMismatchException; public class FileTest { //Globals …

Member Avatar for Stpdoug
0
325
Member Avatar for Stpdoug

Hey guys i am having trouble with creating a Parent class(gameobject) for two other child classes(player,location) both of the child classes can access data from the parent class, and work well independently but once i include the h file for the child classes together in main.cpp i get the compiler …

Member Avatar for UFOOOOOOOOOOO
0
351
Member Avatar for Stpdoug

I have a small problem why is this code not writting information into the userdata.txt file? I am not getting any errors in code blocks it runs but the file does not get any data. While in visual c++ the code gives me "debug assertion failed...expression: str(!=NUll)". What am i …

Member Avatar for Stpdoug
0
207
Member Avatar for Akshay nand

a. Write a C program to open and close a file given its name. Your program must check whether or not the file exists. b. Add a function for reading an opened file into an array of characters. You may assume the array is large enough to hold an entire …

Member Avatar for bumsfeld
0
206
Member Avatar for Stpdoug

Hey guys i have a small problem i would love some advice..this code outputs a hollowed box the problem is i cant get the right most column of the box in the right postion without tabbing it across..which will create problems if i want the user to determine how big …

Member Avatar for Stpdoug
0
106
Member Avatar for Stpdoug

Having a small a problem with an array value here is the code:i want the array(totalwin) to store the value of the calulation each time it repeats say 10 times.I tried using the for loop but the values are not stored in the array what am i doing wrong. // …

Member Avatar for Stpdoug
0
186
Member Avatar for saddam777

Write a code snippet to declare and accept an integer and calculate the cube value of the integer. The integer should be passed by reference to a function cube(). The function would calculate the result of cubing the integer. The function prototype to be used is: void cube (int *p); …

Member Avatar for Stpdoug
0
52
Member Avatar for Stpdoug

How can i draw a 1 line border or frame around code using an " * " , searching the net i have seen techniques using loops and various functions but i cant grasp the concepts being used, even a link to a indept tut on this would be a …

Member Avatar for Stpdoug
0
2K
Member Avatar for Stpdoug

Hey guys i am having a small problem with this calculation in bold: **amtwon = (pow(pbet,2) / pow(pbet,2-100 *pbet))** ; amtlost = ( 0.35 * pbet); totalwin = (amtwon - amtlost); this is the block of code.the problem is **amtwon** totalwin is supposed to return a value of 23.993.18 but …

Member Avatar for Stpdoug
0
282
Member Avatar for Stpdoug

Hey guys im new to this programming thing and im starting of with pascal.I have a small problem here is the program i want to input a number and that number will determine how man times the for loop runs the problem is the program is compliling but is stoping …

Member Avatar for Stpdoug
0
173