photo

David Phung


Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

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....

presque 10 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
fopen 'w' not writing
Thank you, it works like a charm!

presque 10 ans il y a | 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?...

presque 10 ans il y a | 2 réponses | 0

2

réponses

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...

environ 10 ans il y a | 1 réponse | 0

1

réponse

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 ...

environ 10 ans il y a | 1 réponse | 0

1

réponse

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...

environ 10 ans il y a | 1 réponse | 0

1

réponse

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 ...

environ 10 ans il y a | 1 réponse | 1

1

réponse

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...

environ 10 ans il y a | 1 réponse | 0

1

réponse

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 ...

environ 10 ans il y a | 2 réponses | 0

2

réponses

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 ...

environ 10 ans il y a | 1 réponse | 0

1

réponse