wondering if i should install linux as my operating system since flp1969 said that the code that he suggests works in linux.
does anyone have any thoughts on that?
Type: Posts; User: rivkyfried1
wondering if i should install linux as my operating system since flp1969 said that the code that he suggests works in linux.
does anyone have any thoughts on that?
THanks, christop. I already tried using unicode codepoints.
it doesn't work. I have no idea where to go from here.
I think my issue is being caused by my compiler. I entered my code into an online C compiler called, Online GDB, and the code compiled correctly.
The special characters were displayed correctly in...
can anyone explain how to use UNICODE codepoints (referenced in flp1969's first post)?
thanks for suggestion, christop. I just tried what you suggested, but it did not work.
i changed the lines of code to:
wchar_t ngsound = L 'ŋ';
wprintf (L"%lc\n", ngsound);
in the output -...
john c. - thanks for your response.
WHen I try single quotes, the program runs, but there is no output as a result of the wprintf.
Just to be more clear, as a result of your comment, I changed the...
sorry - there was a typo in the error message.
THe actual error message was, '[Error] invalid conversion from 'const wchar_t* to 'wchar_t' [-fpermissive]
Sorry about that.
If you can help out...
flp1969- thanks for your suggestion. I tried implementing it by doing the following:
a) I added the wchar.h header;
b) I added setlocale (LC_ALL "");
c) i added:
wchar_t ngsound = L "ŋ"; ...
Thanks for your responses?
I am using Windows.
Can you tell me how I can input unicode characters in Windows?
Hi, I need to use characters from the International Phonetic Alphabet in my c program. More specifically, I need to save characters from this alphabet into arrays that are used in the program so that...
Arrays were declared as such:
char irregverbs [10][94];
char irregverbspast [10][94];
I am having a strange problem. I am attempting to load two character arrays in a row. The program then sends one of the arrays to a function called binarysearch. The code looks like this:
...
No problem! Thanks for your help!
Thanks for your help. Thankfully, it now works. Here is what I did:
Protocall:
int binarysearch(char data[][21], int n, char *newitem[][21], int positionofnewitem);
Call to function:...
Thanks for your suggestion. I tried to modify the code so that the function looks like this:
Protocall:
int binarysearch(char *[], int, char *);
the function is the part that the program crashes on:
In the following lines, I will include the protocall before the main program, the call to the function, and the function itself after the main...
I didn't get any of these error messages. The reason you got them when the program ran, is because the code that i sent was an excerpt from my program. My program is 1000s of lines long. I couldn't...
I am trying to write a function which performs a binary search. A two dimensional character array will be sent to the function as a first parameter. The second parameter is an integer and gives the...
here is the code. i am using a c compiler provided by the Code Blocks program.
tensecomp = strncmp (past, tense, 2);
verbcount = count;
strncpy (filename2, username, length);
strcat...
My program creates an output file based on the user's input. The user enters a pronoun, and the pronoun gets placed into the output file. Each time the program runs, the user enters additional...
Is there a way to truncate a file to 0 length in C?
THANK YOU! I just changed my inner loop variable to j and k, and it's working beautifully!
the code below is part of my program. For some reason, I can't get the outermost for loop to increment. the outermost loop - for (i=1; i < file_len_suffix+1; i ++){ does not get incremented. what did...
Thanks! I found the exe file on my computer. Wow, that was nice and easy! THANKS!
The operating system that I am using is Windows XP. My program asks the user to provide nouns, verbs, and other...
I wrote up a program in C (Code Blocks 10.05), and it runs. I run it by hitting F9 when I am in CodeBlocks. The little black window opens and the user is prompted for input. I am hoping that several...