There is a clear text username with password in there, I suggest you to remove them
EDIT: And change the password, if at all possible.
Type: Posts; User: Odexios; Keyword(s):
There is a clear text username with password in there, I suggest you to remove them
EDIT: And change the password, if at all possible.
Wouldn't a closure do what you need? Something like
(function() {
var next = 0;
document.getElementById("button").addEventListener("click", function() {
...
If the line
scanf("%s",&me);
is actually written like that in the book, and it's not a copy error, I'd heartily recommend you to look for another book to learn from. If you're learning C from...
Just a suggestion; instead of using os.system, which relies on the shell underneath, use the functions from shutil, which are platform independent.
Also, instead of escaping the backslash, you can...
As far as I can see, the original poster is an engineering student making a survey for a project, not asking for what language would be best for him to learn. Your points might still be valid, but he...
Both, if I love music and not just playing a specific instrument.
Especially if I'm a guitar player, learning the theremin will teach me a new way to approach music, and learning a new way to...
Hello everyone!
I'm following a basic programming class and one of the assignments I had to solve was to write a C procedure which orders a linked list using Insertion Sort.
The actual sorting...
Thanks for the explanation.
I guess that until the day I learn a little bit of assembly and of how C code is compiled and executed I won't be able to really grasp how C works.
The fact that passing an argument to main, for example, changes the value returned by abs, or the way it is interpreted, or whatever happens.
I understand that when a behaviour is undefined...
Nice example. Could you please explain why does that happen, or tell me what should I look for to understand it?
I mean, I see what's wrong, but why does test behave in that particular way?
Perfect. Thanks!
I have a question about the Ethernet Frame. It's the first time I look at this kind of subjects, so it might be a dumb question.
As far as I can understand, the endiannes is the way a binary...
I'm not having a lot of free time, but the challenge is really interesting and seems pretty doable. I'll surely try it if I can; I'm trying to learn Caml these days, might give it a shot with that.
...
Yep, I guess it probably is; I'm not familiar with error handling in C yet, it's only been a few months since I started to seriously study programming, but I wanted to try to write a project a little...
Yep; the matrix[i] is a copy-paste error, it's right in the source code. Correcting it in the op right now.
int set_error(int code); is a function I wrote for a really primitive way to handle...
Hello everyone!
I'm having a weird issue with malloc.
I am using this code to allocate a matrix:
static int grid_maze_create_matrix(void)
{
int dim;
I've been trying to get started with GUI programming in C for a long time, but I'm always stopping before getting to a point where I can be even just a little productive.
I've been trying to get...
What should be the output of Program.ToPercentage(0.731)? Should it print 731, 73, or the non integer number 73.1? The name of the function would suggest that what you need is to multiply the number...
What's the scope of your project?
While it can be simple (though still not trivial) if you stick with only sums and products of polynomials in only one variable, the difficulty can easily escalate...
It should work fine, then, as long as EXTRA_CHECK is defined.
Thanks. My greatest issue right now is that I'm not really sure the way I code is the usual or recommended way; I'm completely...
You can use the [php] or
tags to post code and preserve indentation.
Don't know about the rest, this is the only line I read, but (assuming functions work the same way in C and C++) that
...
I was kind of bored...
prog_name input_file output_file
(input_file and output_file can be the same)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
May I write you a short program which does what I think you're trying to do?
I'm sure it'll be easier to understand what's wrong by confrontation.
#include <stdio.h>
#include <string.h>...
This code doesn't segfault to me:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define STRING_BEGIN "SELECT name FROM statistic WHERE name = '"
#define STRING_END "'"
system might not be the best function to use, but you can do it easily; something like this:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define SNOTIFY "notify-send"