Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged printf

0 votes
795 views
1 answer
    I know this is a very silly and simple question but I've been trying to print out an image of a robot that ... explain how to fix this please? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
564 views
1 answer
    When I use below code: #include <stdio.h> int main(void) { printf("%s","Hello world Hello world"); ... would be helpful when reading files. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
965 views
1 answer
    I want to print a float value with printf global main extern printf section .data string: db `%f `, 0 section . ... .6? what am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
961 views
1 answer
    fid = fopen('./tickers.tex', 'wt+'); for x = 1 : size(C.names,1) fprintf(fid, '%s & ', C. ... print the cell array just like the last syntax? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
518 views
1 answer
    How do i setup a printf-style logger for f# using logging library similar to log4net. i have Log.Debug, ... tried using Debugf format and Debug See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
584 views
1 answer
    i have a structure which contains a float variable, struct MyStruct{ float p; }newMyStruct; And i am ... i cannot provide proper warnings. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
551 views
1 answer
    I'm using Visual Studio TC compiler for Little Endian. The following is the piece of code: void main() { float ... the register is int or float? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
833 views
1 answer
    I'm using sprintf() to get a formatted string of some float numbers with a certain precision. In addition, I ... leading zeros to a float value? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
427 views
1 answer
    I have to write a program in which main calls other functions that test a series of number if any are less than a ... I'm not sure what's wrong. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
556 views
1 answer
    I'm trying to work out why a larger problem is occurring, using a smaller program as an example. This smaller ... printf(word); return 0; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
626 views
1 answer
    I don't understand why the output of an unsigned int is negative for the following code. Just like a signed int. ... -2147483648 which is -2^31. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
466 views
1 answer
    I was relying on sprintf('%0.1f', 2.25) === '2.3' but it turns out it comes in at 2.2! In fact it ... note that round($n, 1) works as expected.) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
392 views
1 answer
    I would like to know from where inside a huge application a certain message is printed. The application is so ... writes something to a file. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
507 views
1 answer
    Ive got a multi platform project that compiles great on mac, but on windows all my swprintf calls with a ... ends around every wide string call See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
639 views
1 answer
    I want to implement the fmt::Display for a nested struct commonly used in my code. // The root structure pub ... print a Vec of my structures? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
457 views
1 answer
    I'm sure it's a silly question to those who know, but I can't find an explanation of what it does or what it ... row end What does "p row" do? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
345 views
1 answer
    I need to align a series of numbers in C with printf() like this example: -------1 -------5 ----- ... my comments). Thank you all for your time. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
608 views
1 answer
    i want to print "CLIENT>" on stdout in c, without new line. printf("CLIENT>"); does not print enything. how do ... (){ printf("CLIENT>"); } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
498 views
1 answer
    Say I have the following: char* string = "Hello, how are you?"; Is it possible to print out only the ... of printf that would allow for this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
636 views
1 answer
    I have the following code: #include <stdio.h> int main() { unsigned int a = -1; int b = -1; printf("%x ... Then, what is the unsigned word for? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
644 views
1 answer
    I am trying to learn more about the PHP function sprintf() but php.net did not help me much as I am ... $date; Am I missing something here? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
528 views
1 answer
    How do I print a char and its equivalent ASCII value in C? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
961 views
1 answer
    I am trying to print char as positive value: char ch = 212; printf("%u", ch); but I get: 4294967252 How I can get 212 in the output? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...