Search:

Type: Posts; User: Structure

Page 1 of 11 1

1. Thread: largest number in array

by Structure
Replies
5
Views
162

if (largest < array[i]) largest = array[i];...

if (largest < array[i]) largest = array[i];
[/FONT][/COLOR]
2. Thread: quick question passing data types for square root function (function parameters)

by Structure
Replies
7
Views
193

C Programming/math.h/sqrt - Wikibooks, open books...

C Programming/math.h/sqrt - Wikibooks, open books for an open world
3. Thread: How to store string

by Structure
Replies
6
Views
162

#include int main(void) { ...

#include<stdio.h>

int main(void) {
printf("Enter Size of string \n");

int size;
scanf("%d",&size);
char string[size];

printf(" Size of string : %d \n", size);
4. Thread: I need help with switch case

by Structure
Replies
5
Views
203

include #include void...

include <stdio.h>
#include <stdlib.h>

void get();
void rechenOperator(char rOperator);

int main() {
5. Thread: How to pass int array[] to float array[] in a function?

by Structure
Replies
10
Views
234

#include #include char...

#include <stdio.h>
#include <stdlib.h>

char buffer[128] ;

#define def(i) gcvt (i, 8, buffer) ;

int main( int argc, char *argv[] ) {

int a = 10 ;
6. Thread: How to pass int array[] to float array[] in a function?

by Structure
Replies
10
Views
234

plex.c: #include #include...

plex.c:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

struct numberType {
int whole ;
7. Thread: Find a number that's divided equally by a specified range of numbers

by Structure
Replies
9
Views
345

#include int main(void) { ...

#include <stdio.h>

int main(void) {

int i, j, k;

for ( i = 1; i < 9999; i++ ) {

k = 0;
8. Thread: How to pass int array[] to float array[] in a function?

by Structure
Replies
10
Views
234

printf("%.0f",floatNumber); This will not change...

printf("%.0f",floatNumber);
This will not change the number but will cut of the all numbers after decimal point when outputting.

by Structure
Replies
4
Views
179

It is similar to including the dll within the...

It is similar to including the dll within the executable instead of outside.
10. Thread: Process exited error c compiler

by Structure
Replies
3
Views
154

What if the return value is set to a value other...

What if the return value is set to a value other than 0 or 1 in the main function in C? - Quora

by Structure
Replies
1
Views
314

Project Neural Network.... struct dendrites...

Project Neural Network....

struct dendrites {
int toIndex;
float weight;
};
struct neurons {
float value;
struct dendrites axon[MAX_DENDRITES];
12. Thread: Importing C libs that aren't in stdlib

by Structure
Replies
4
Views
206

create.c: #include #include...

create.c:

#include <stdio.h>
#include <string.h>

#define OPEN '~'
#define CLOSE '~'
#define MAX_DEPTH 10
#define MAX_SIZE 128
13. Thread: Importing C libs that aren't in stdlib

by Structure
Replies
4
Views
206

You could create an executable that imports the...

You could create an executable that imports the data and prints out a new file. using some sort of tag for when it gets injected.

by Structure
Replies
3
Views
715

Although i am familiar with forms I have never...

Although i am familiar with forms I have never programmed in c#, but i would first check if celk is a multiline textbox.

This might help...
File.ReadAllText Method (System.IO) | Microsoft Docs

by Structure
Replies
2
Views
132

Ha, i noticed that as well. I thought it was...

Ha, i noticed that as well. I thought it was funny so i kept it.
I'm weird like that.

Not sure how this is "messy".

also slows it down i bet. I should declare the variable first and just...

by Structure
Replies
2
Views
132

Nested Parsing

#include <stdio.h>
#include <string.h>

#define OPEN '{'
#define CLOSE '}'
#define MAX_DEPTH 10
#define MAX_SIZE 128

char results[MAX_DEPTH][MAX_SIZE];
int lock[MAX_DEPTH];
17. Thread: largest palindrome number (error in code)

by Structure
Replies
3
Views
144

This might help... int isPalindrome(char...

This might help...

int isPalindrome(char *string) {
int retValue = 1;
int first = 0, last = (strlen(string)-1);

if (string[first] == string[last]) {
for (int i=0;...
18. Thread: My function is logical?

by Structure
Replies
15
Views
350

I can agree with this, as long as you come from a...

I can agree with this, as long as you come from a knowledgeable perspective we will have no problems. Like i said i prefer to save index 0 for defining the array data or just to have a tmp value....

by Structure
Replies
7
Views
206

C Basics
20. Thread: My function is logical?

by Structure
Replies
15
Views
350

Sometimes i save index 0 for data defining what...

Sometimes i save index 0 for data defining what is in the array or anything else just to have a space.
21. Thread: My function is logical?

by Structure
Replies
15
Views
350

sure, that is because i started with one because...

sure, that is because i started with one because why not? lol

morse.h

#define MORSES 37
#define MORSEM 8

struct alphabet {
char letters[MORSEM];
22. Thread: My function is logical?

by Structure
Replies
15
Views
350

char morseToChar(char *string) { for (int...

char morseToChar(char *string) {
for (int i=1; i<37; i++) {
if (strcmp(l[i].lettersMorse, string) == 0) {
return l[i].letters[0];
};
};
};

Just because...

by Structure
Replies
33
Views
690

There was a simple set of rules, and the code...

There was a simple set of rules, and the code worked within that constraint. I did not feel the need to make it more complex as it was not necessary and should be left to the developer to expand the...
24. Thread: My function is logical?

by Structure
Replies
15
Views
350

15983 The actual code i wrote works fine. I...

15983

The actual code i wrote works fine.
I think you are doing it wrong.

for one thing...

fyi: I see where you used the function wrong. Do you ?
25. Thread: My function is logical?

by Structure
Replies
15
Views
350

char line[MAX_STRING_SIZE]; FILE* fp =...

char line[MAX_STRING_SIZE];
FILE* fp = fopen("encoded.txt", "r");
while (fgets(line, MAX_STRING_SIZE, fp)) decode(line);
fclose(fp);
Results 1 to 25 of 275
Page 1 of 11 1