Blogs RSS
Forums RSS
DaniWeb Home
>
Forums
>
Search Forums
Search Results
•
•
•
•
Showing results 1 to 17 of 17
Search took
0.01
seconds; generated 1 minute(s) ago.
Posts Made By:
theteamdrunk
Refine this Search
Save these search results for 24 hours
Forum:
C
Nov 6th, 2007
Replies:
15
Converting lowercase to capital
Views:
2,044
Posted By
theteamdrunk
Re: Converting lowercase to capital
thats what i tried, it ran the program but let me enter a filename then stopped;
void convert(char* filename)
{
int i = 0;
while(filename[i] != '\0')
{
filename[i] =...
Forum:
C
Nov 6th, 2007
Replies:
15
Converting lowercase to capital
Views:
2,044
Posted By
theteamdrunk
Re: Converting lowercase to capital
okay, so I have gotten it revised down, but the only problem I get when I compile is it is telling me that in the convert() function the i is undeclared. What should I declard it as.
Here is the...
Forum:
C
Oct 30th, 2007
Replies:
15
Converting lowercase to capital
Views:
2,044
Posted By
theteamdrunk
Re: Converting lowercase to capital
I read the link, but dont know how it can help me. I have made a few changes, but cant get the desired result. Here is updated code:
#include <stdio.h>
#include <string.h>
#include...
Forum:
C
Oct 30th, 2007
Replies:
15
Converting lowercase to capital
Views:
2,044
Posted By
theteamdrunk
Re: Converting lowercase to capital
sorry, I think I was posting when your reply was posted, I am checking it out now.
Forum:
C
Oct 30th, 2007
Replies:
15
Converting lowercase to capital
Views:
2,044
Posted By
theteamdrunk
Re: Converting lowercase to capital
have revised, It still doesnt work exactly though
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#define CHARSIZE 101
void convert (char strng[]);
Forum:
C
Oct 30th, 2007
Replies:
15
Converting lowercase to capital
Views:
2,044
Posted By
theteamdrunk
Converting lowercase to capital
I am writing code that accepts a string of a filename, then capitalize the letters, not changing any numbers or special characters. I think I am on the right path, but can some one give a little...
Forum:
C
Oct 29th, 2007
Replies:
4
simple linked lists
Views:
1,028
Posted By
theteamdrunk
Re: simple linked lists
So here is an updated program, still getting errors (line21 and 26 invalid types `int[int]' for array subscript ; line28 invalid conversion from `int' to `void*' ) I am working on this right now...
Forum:
C
Oct 29th, 2007
Replies:
4
simple linked lists
Views:
1,028
Posted By
theteamdrunk
simple linked lists
I am trying to write a program that has to create a structure that has one variable called value and one pointer to the list(making it a linked list). It need to prompt the user for 5 values and...
Forum:
C
Oct 28th, 2007
Replies:
9
adding prompts
Views:
734
Posted By
theteamdrunk
Re: adding prompts
Is there a way to start the message and then add on the message with strcat?
Forum:
C
Oct 28th, 2007
Replies:
9
adding prompts
Views:
734
Posted By
theteamdrunk
Re: adding prompts
SO I had to add the <stdlib.h> to not get the undeclared, but now I get the right input prompt, but the output for the final message is the last character that I entered. Any thoughts?
Forum:
C
Oct 28th, 2007
Replies:
9
adding prompts
Views:
734
Posted By
theteamdrunk
Re: adding prompts
here is the updated code, but I get still get the indeclard first use when I compile on the atoi and atof.
#include <stdio.h>
void getline(char []);
#define LSIZE 4
int main()
{
char...
Forum:
C
Oct 28th, 2007
Replies:
9
adding prompts
Views:
734
Posted By
theteamdrunk
Re: adding prompts
what does the atof and atoi mean? I tried to run it with what you ahd written and it came up with undeclared, first use for atoi and atof.
Forum:
C
Oct 28th, 2007
Replies:
9
adding prompts
Views:
734
Posted By
theteamdrunk
adding prompts
I need to add prompts for the number, integer and character inputs separatly instead of all at once. I want it to say "enter a number" wait for input, "enter an integer" wait for input and "enter a...
Forum:
C
Oct 21st, 2007
Replies:
6
pointer notation
Views:
924
Posted By
theteamdrunk
Re: pointer notation
That helps a lot thanks a million.
Forum:
C
Oct 21st, 2007
Replies:
6
pointer notation
Views:
924
Posted By
theteamdrunk
Re: pointer notation
Basically, I am trying to copy the "message" to the "menu" and then display using the
*(menu+i) and *menu notation.
Forum:
C
Oct 21st, 2007
Replies:
6
pointer notation
Views:
924
Posted By
theteamdrunk
Re: pointer notation
this is what I have come up with so far, I dont think its working just yet though
int restaurant(char* menu)
{
int i;
char strcpy(char menu[], char message[]);
{
int i = 0;
...
Forum:
C
Oct 21st, 2007
Replies:
6
pointer notation
Views:
924
Posted By
theteamdrunk
pointer notation
I need help with this problem. I have written the code. The function main() stores the message in an array. What I need to figure out is how to have the function restaurant accept the message as...
Showing results 1 to 17 of 17
Forum Highlights
Today's Posts
All Forums
Unanswered Threads
All Forums
Forums
|
Blogs
|
Tutorials
|
Code Snippets
|
Whitepapers
|
RSS Feeds
|
Advertising
All times are GMT -4. The time now is
5:09 pm
.
Newsletter Archive
-
Sitemap
-
Privacy Statement
-
Acceptable Use Policy
-
Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC