473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Why we cant insert two concecative charcter in c?

i tried to scan two char form user consecativly but screen terminates while scanning r=the second charcter
why it happen
Aug 7 '14 #1
2 1107
This function assumes that the first string will not contain two // consecutive '*' if ... then there are two possibilities // a) We consider current character of second ... Yes test("abc*c?d", "abcd"); // No because second must have 2 instances of ..... Just add a check after the while loop to check if both strings have terminated or not.
Aug 7 '14 #2
weaknessforcats
9,208 Expert Mod 8TB
Maybe posting a little code would help. I'm having a little trouble following what's going on.
Aug 7 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Patrick | last post by:
Hi, im trying to first insert a node in the xml file and save it. XmlDocument mDoc = new XmlDocument(); mDoc.Load("struct.xml"); XmlNode singleNode; XmlNode newNode =...
1
by: Bluebird | last post by:
hi all i am trying to update a record , which is in postgres databse using PHP, it's not showing any error , but records are not updated. summary of the code given below <?php...
3
by: Mukesh | last post by:
sir, i am developing a database, which will store the users profile both personal and professional which includes the address, telephone, gender and etc. in my main table i have created a column...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
On a form - I have a datagridview which is docked to the entire form. The datagridview allows users to Delete and/or Add Rows. On the Form_Load event I Fill the datagridview source table with a...
5
by: eisenstein | last post by:
i read out an utf-8 xml file with greek or russian/cyrillic characters. i can display it in the browser but if i insert data into an mssql database -field is nvarchar(4000)- i only see ??? or...
1
by: ghjk | last post by:
I want to insert data through my web application. I have dropdown box (have 2 values Yes and No)and when i select yes insert record will be 5 and when i select no insert record will be 3. So i cant...
3
by: kkshansid | last post by:
i cant insert data from rich text box to my sqlserver database while all other data inserts using strDescription = trim(Request.Form("rte1")) if i use rte safe then error is shown and whole...
2
by: perhapscwk | last post by:
MY PHP form...i use it to submit and then insert data into SQL. but why if i have a words like he's , then it will output as he\\\\\\\'s ?
1
by: nedaranjbar | last post by:
I have a page with different forms and inputs, i insert these inputs of form in a database ( postgresql ), although user can write in my textarea but these inputs cant insert in my database , the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.