I see. I ended up just adding a second char in my scanf statement so it would pick up the return character so now its basically discarded and is not search for or used in my printf statement.
...
Type: Posts; User: schmidtc
I see. I ended up just adding a second char in my scanf statement so it would pick up the return character so now its basically discarded and is not search for or used in my printf statement.
...
I tried this but its not working right.
#include "mystuff.h"
void countchar (NODE* pList)
{
// local declarations
int a;
I should have put this in the first post but this is the purpose of the function.
It is supposed to read an input from the user and then scan the linked list for it and it will print the number of...
I added the break but the code still gives an odd output
#include "mystuff.h"
void countchar (NODE* pList)
{
// local declarations
int a;
Any help on this print function using a linked list. I am getting the print statement coming up twice.
#include "mystuff.h" ...
thanks
Now the code works.
#include "mystuff.h"
void vowels (NODE* pList)
{
int w = w;
int a = 97;
The purpose of the function is to print the number of vowels in a linked list. The function compiles fine but will not print the correct number. I am not sure what is wrong. Any help would be great....
I ended up using = and it works perfect.
if (table[j][i] >= largest)
{
largest = table[j][i];
large = i;
}
I am having trouble writing code that will print the last index of the last largest integer an a array. I can get it to print the first index of the largest but if I have two of the largest number in...