I'm messing around with .txt file manipulation and I was wondering how to create a .txt file with a password in C, so that this file can not be opened by Notepad or another program without the password. And then if I wanted to open the file I co...
I'm asking you the following question:
So I did this algorithm:
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i, j, x=0;
int vetor[x];
printf ("Digite o tamanho do vetor:\n");
scanf ("%d", &x);
for (i=...
Staff every time I try to run this code is giving this error
follow the code below:
#include <allegro.h>
int main()
{
allegro_init();
install_keyboard();
set_color_depth(32);
set_gfx_mode(GFX_AUTODETECT_WINDOW...
I'm new to programming; the question of the question is this:
Given as input data the name, height and sex (M or F) of a
person, calculate and show your ideal weight using the following
formulas:
• for males: ideal weight = (72....
To be more exact, when I press "." after some object, type I declare a vector:
vector<int>Random;
So far so good, so when I start typing:
Random.push_back();
Dev c ++ does not help me complete, I know it sounds paranoid, but is i...
I can compile the file quietly, but when I run it it presents the source file not compiled. Could anyone help me?
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main ()
{
float a, b, c, y;
printf("\nDi...
Good evening guys.
I'm having a problem with a simple code, for a college job where I can not figure out why, since Dev-C ++ does not report any errors. To prevent someone from my college find this topic by chance and copy my code, I will use...
I made this code but I have not the slightest idea why it is giving this error: "No match for 'operator < In the part where I display the user's response ... (Remember that PersonName is a class and Date is also ...)
class Filme
{
privat...
I had to create a program in C that reads a motion sensor activation file (.txt) and produces a binary file with the same information.
The .txt file has the following information:
3B2 20051023 014857393 609f
3B3 20051023 014857393 00f...