Questions tagged as 'c'

0
answers

Using printf and scanf in Eclipse and Netbeans - Language C

Good evening. I have the program below that asks the user to insert two numbers and then present them. In Code Blocks is working correctly, however when I run in Eclipse or Netbeans, the system waits for the numbers to be entered without the pre...
asked by 25.02.2018 / 02:04
0
answers

How to call the event mouse click on C language

Hello, I would like to click on a certain part of the prompt to trigger the event through the click, that is, click on the "Include" string to clear the table and call the Inclusion screen.     
asked by 24.02.2018 / 03:37
0
answers

About Snippets in VS Code

Hello, I use Visual Studio Code, I am a beginner in programming and wanted a help to mount snippets in VS Code, I wanted to create snippets for the basic C language functions, like printf and scanf, I already searched for exits and did not exist...
asked by 24.02.2018 / 09:34
0
answers

String characters disappear

Good morning I'm doing the Problem 1234 of uri , but I did the code and I saw that some characters disappear for some reason I do not know, when I type a phrase that the site shows, some characters disappear, could help me Follow the code...
asked by 20.02.2018 / 16:30
0
answers

C / C ++ How to declare a type for an event handler in a class?

I need help in C / C ++ to know how to set a type for an event handler that will be used as a member of a class. This is an example that works with simple variables and functions: #include "cstdlib" #include "stdio.h" using n...
asked by 19.02.2018 / 20:45
0
answers

variable-sized object may not be initialized?

   Good Night. I'm having a problem compiling a file. The errors are indicated below: example.c: In function ‘main’: example.c:125:5: error: variable-sized object may not be initialized AGENT *grid[WORLD_X][WORLD_Y] = { NULL };...
asked by 18.02.2018 / 01:05
0
answers

Structure and Pointers in C: Binary Tree

Hello, I'm trying to create a math expression tree with the following logic: My expression is a string, and I have 4 character options: (: When finding this character, my code must create a node for pref , insert in its conteudo(...
asked by 16.02.2018 / 15:10
0
answers

Search in a .csv file in C

Hello! I'm new to programming, and for a college job, I have to create a project in which I have to use .csv files. The program itself compiles, but I know I have an error in an if function, and I can not identify it. I searched for examples, bu...
asked by 14.02.2018 / 16:21
0
answers

Read csv file in a 2-d array and edit data in C

I have a csv file and I want to read it in an array and then edit the values of a certain position. Here is an example of my file: id; a; b; c; d; e; f; g; h 1; ; ; ; ; ; ; ; ; 2; ; ; ; ; ; ; ; ; 3; ; ; ; ; ; ; ; ; (...) I declared an ar...
asked by 14.02.2018 / 16:25
0
answers

How to create a dll in C for apihook?

I'm studying APIHook however I run into a problem, I can not create dlls in C, every time I try to create a series of errors in the functions as if they did not exist ... Even taking dlls done and pasting the code does not work, how to create a...
asked by 14.02.2018 / 12:12