Im having problem with the memory allocation.
.H
#ifndef DSTRING_H
#define DSTRING_H
#include <stdio.h>
typedef char* DString;
Type: Posts; User: Elias Zaguri
Im having problem with the memory allocation.
.H
#ifndef DSTRING_H
#define DSTRING_H
#include <stdio.h>
typedef char* DString;
When trying to connect to sql through sqlconnection I get an error, "NullReferenceException was unhandled" "An unhandled exception of type 'System.NullReferenceException' occurred in...
I missed his post, my bad! i fixed it now, also fixed indent on my codes so all look alot better, thx for the advice
So i changed my code since i posted last.
Still got a problem to do a loop to start again without closing the program
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
I just tried to do it this way, It does remove .,? and so on and check for palindrome, however when I press 'y' to start again and write normal words without .,?-! it tells me itīs not a palindrome...
I wrote like this and it works
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void string_change(char string_text[])
My task is to write a program that checks for palindrome.
Same word
Example:
(wow is a palindrome)
(radar is a palindrome)
I am only allowed to use one built in function.
I made a function generating 5 random numbers into an array. After that I made an multi-dimensional array and stored dices in six diffrent char. Now im trying to use a switch case to decide which 5...
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
void generate_random_numbers(int random_numbers[]);
int count_matching_numbers(int random_numbers[], size_t n, int x);
int main(){...
I got all the functions except the search function the work.
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
void generate_random_numbers(int random_numbers[]);
int...
Tried to listen to your instructions. But I think my program is worse now, I dont really know how to call the functions in the right way i suppose,
Here's the code now
#include <stdio.h>...
So i tried to fix the code and come up with this.
#include <stdio.h>
#include <stdlib.h>
Got another question if ur up for it.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
Ill do that, thanks for the tip, I didnt know what to search for, google is to big to find something specific if you don't know what you're searching for!
So my task is to create a program that generate 10 random integer numbers into an array and write them on the screen. After that the program is supposed to ask the user for a number, count how many...
So the task is to write a program that repeatedly ask for a positive number, Negative numbers will make the input to stop.
After that the program will tell you minimum number, maximum number, sum of...
Im kinda new in programming so I need some help.
The task is to write a "game". The user is guessing a number between 1-100 and the program is telling if the number is too high or too low. When the...
So the task is to build a program that converts swedish krona to euro using 4 functions
*one that handles input
returnvalue: input krona
*one that converts to euro
returnvalue: quantity of...