- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						
					
				
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Usage of function
				
				
						
							
							
						
						
				
					
						
							What is the function strtok() used for? Is this a string handling function? If one uses this function what is the header file one must include in the program.
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
                                             
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						
					
				
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Re: Usage of function
				
				
						
						
				
					
						
							Yes it is a string handling function. You have to include the file string.h while using this function in your program. The syntax of this function is
char *strtok( char *strin1, const char *strin2 );
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
                                             
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						
					
				
			
			 
			
				
				
				
				
				
					    
				
			
		 
		
			
				
				
				
					Re: Usage of function
				
				
						
						
							
						
				
					
						
							Norman thanks for your valuable input. I tried this function from the input you gave me and I could get a clear idea of this function.
						
					 
					
				 
			 
			
			
		 
	 
		
	
 
                                             
		
		
		
	
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				
				Posting Permissions
			
			
				
	
		- You may not post new threads
 
		- You may not post replies
 
		- You may not post attachments
 
		- You may not edit your posts
 
		-  
 
	
	
	Forum Rules