photo

David Phung


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


feof to loop through lines of data?
Hey, so i'm supposed to have a file called xypts with data like below where everything is spaced one apart. z 0 y 1 z 4....

nästan 10 år ago | 0 answers | 0

0

answers

Answered
fopen 'w' not writing
Thank you, it works like a charm!

nästan 10 år ago | 0

Question


fopen 'w' not writing
The following is my code. I seem to not be able to write the code into the phone.txt file. can anyone tell me where my error is?...

nästan 10 år ago | 2 answers | 0

2

answers

Question


sprintf inputting fieldwidth problem
This is my homework question: Write a script that will generate a random integer from 1000 to 2000, ask the user for a fie...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


vectorized code to make square matrix from nxm matrix
Hey so the problem I have is that I am supposed to make a square matrix from an mxn matrix (2x4 or 4x9 etc). Basically what the ...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


error checking wont replace old input
This is my code and I want to error check it for the person to input a vector of grades that are from 0 to ten. Every time I run...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


for loops and if else for matrices
My homework question says that theres a file called pipe.dat with a matrix inside [4.64 15.30; 5.21 15.36; 4.79 15.39]. The ...

ungefär 10 år ago | 1 answer | 1

1

answer

Question


if elseif function not working properly
Hey, this is my code and it doesnt work if I try to get something in the 3rd or 4th quadrant. Can someone tell me where my mista...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


Saving Image file as a new file.
Hi, so my script consists of the user inputting the name of a file, call it picture, and then I would change the RGB values and ...

ungefär 10 år ago | 2 answers | 0

2

answers

Question


truecolor error in changing RGB of pixels
Hi, Ive been trying to change the pixels of an image but I get an error everytime I try to change something other than red. For ...

ungefär 10 år ago | 1 answer | 0

1

answer