Advertisement

1 - 10 of 15 containing alltags:("c scripting") (0.002 seconds)
If I am working with very large float variables, and need to eventually display the output in scientific notation, how would I do that with printf? I also do not want to lose anything from these...
Zones: C, C++Date Answered: 07/25/2008 Grade: A Views: 88
I have the following struct. I need to make a struct array, and read in variables from a file into this structure array. I don't know the correct notation to use with sscanf in the function code fo...
Zones: CDate Answered: 07/25/2008 Grade: A Views: 0
I don't know what these compiling errors are all about, I know where they are and what they are talking about, I just don't know how to fix it. How is it an incompatible arguement 2?, and what is u...
Zones: CDate Answered: 07/26/2008 Grade: A Views: 0
If I had a string and I used sscanf on it in the following way, It would only read in the first word of the last sentence.  I need to know how to use sscanf to read in white spaces too. Or some way...
Zones: CDate Answered: 07/27/2008 Grade: A Views: 41
Ok, If there are 5 lines to the file this needs to read in, why will scanf only scan the first line 5 times into the structure array, and printf will print the whole file? I put a for loop at the e...
Zones: CDate Answered: 07/27/2008 Grade: A Views: 0
So here is the output that my program gives me. I used a do while loop and a switch statement to make it so it will read in n, s, w, and e. and print the new room with the print_room function and c...
Zones: CDate Answered: 08/03/2008 Grade: A Views: 0
Following is a segment of code (function). It is supposed to read in the first two characters from an array of struct string values. The printf statement prints out the following: "^@" instead of a...
Zones: CDate Answered: 08/01/2008 Grade: A Views: 0
The following code is supposed to sort words in a struct array. The output printf statement in the for loop spits the words out in the original order. (the function sort is where there is a problem...
Zones: CDate Answered: 08/04/2008 Grade: A Views: 12
Ok, so my problem is, I am trying to use sscanf to get a string and a floating point number, however for some reason it is missing the floating point number altogether. I used BOTH fputs AND printf...
Zones: CDate Answered: 07/19/2008 Grade: A Views: 0
HI Experts Please see code snipped , I am trying to call a powershell command from C# and got the following error: "Cannot invoke this function because the current host does not implement i...
Zones: MSH/Monad, C#, ScriptingDate Answered: 06/29/2008 Grade: A Views: 129