Search found 1 match

by mahmoud.helmy
Thu Oct 30, 2008 1:49 pm
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 56546

Re: 272 -WA-Plz help to debug it!!!

Hi, this code gets wrong answer.
Hope to help
thx

#include <iostream>
#include<fstream.h>
#include<string>

using namespace std;
char str[5000];
//char temp[1000];
string temp="";

void fn(string str)
{
int Counter=0;

for(int i=0;i<str.size();i++)
{
if(str[i]=='"')
{
Counter++;
if(Counter ...

Go to advanced search