I have a debugger class which implements a printf() c style method. It looks like this: It is used like this: It is working very well. Now i wan ...
I have a debugger class which implements a printf() c style method. It looks like this: It is used like this: It is working very well. Now i wan ...
Here is a simple module containing a down counter: Here is the output after applying the clock.step() function on the module a few times: How on ...
I am learning how to create struct's and I am stuck on a program I made. Everything works fine until I try to input "2". When the program prints the s ...
I finished the challenge and my first C code worked apparently well, returning each time the correct minimum number of coins needed for change. Then w ...
Please note this is not C++ code and I'm not developing a Qt app. I mostly develop embedded code and someone has knocked up a neat LCD emulator so we ...
See my code Actual Output: Expected output: Can any one help me why string is not getting print after \n (LF)? Compiler - arm-none-eabi Li ...
Why does the following code produce an error? I don't understand why the curly braces are making a difference. ...
I can't understand why the following code outputs 10. What I understand is that !printf("0") means !0, which is TRUE. So why doesn't the code print "S ...
My program is supposed to print out a table like this: It even compiles, but when I run it I get an error. I don't know how to fix it. Here's what ...
I have a string array in a matlab script called "dataString" that was copied into MATLAB from an html document using fileread(). I then cut out the pa ...
I have some bash scripts I have been running on Ubuntu 14.04 and 16.04 for well over a year now. Some recent Ubuntu update has broken bash and I canno ...
Language is C. I have an array of char* types (char *array[] / char** array) as function argument, and I want to print them all to separate lines like ...
I am trying to print a parenthesis using: printf("\)"); However, it is giving me the following warning: warning: unknown escape sequence '\)' I can' ...
I want to pass application printf log messages to the /var/log/messages. Because kernel debug messages can be visible to /var/log/messages.But i am no ...
I have some code I need a pointer to x in DEBUG_PRINT which may be a variable or an expression. To support expressions I assign it to a temporary a ...
I have main.cpp, linking test function from io.c io.c: and I configure CMakeLists.txt as following: However, when I build a project, the erro ...
I'm trying to port software to a microcontroller (so I can't step through the code with e.g. gdb) and it crashes unpleasantly. To identify the reason ...
I'd like to know how to get the line number of a line in vbscript programmaticly either at the point of the code like __LINE__ or more ideally a way t ...
in c code I frequently use printf debugging macros like and then i can do things like DPRINT_INT(height) where it will print the variable or things ...
I have a bunch of printf debug helper macros and it would be pretty cool to have to not specify the type, is there anything you can do to allow someth ...