by: Matt MC |
last post by:
I need to validate a string with the following requirements:
1. Validated string must start and end with a forward-slash /
2. Upper or lowercase is fine
3. No numbers
4. No special characters...
|
by: srikanth |
last post by:
static char buf = {1,2,3,4,5,6,7,8};
printf("Address: %u : Val = %d \n",(int*)buf+1,*((int*)buf+1));
Thanks
Vija
|
by: Gareth James via .NET 247 |
last post by:
I have an expression that when run uses 100% cpu for over 1minute.
I can change the expression so this does not happen, but couldsome one explain why this happens so that I don't do it again
...
|
by: Buck Rogers |
last post by:
Hi guys! Love your work!
The below program is from K&R2, p22.
=================================
#include <stdio.h>
/* count digits, white space, others */
main()
{
|
by: Christopher Benson-Manica |
last post by:
This function is intended to print a string guaranteed to be in the
form MM/DD/YYYY (assume <stdio.h> and <string.h> are included) as
YYYY-MM-DD:
void printdate( const char *date )
{
char...
|
by: alkapin |
last post by:
I am trying to clean up a city name. Inside the letters only one of 3
characters (dot, space and hyphen) is allowed (1 max). For example:
Los-Angeles,Los Angeles and N.Westminster are ok.
Outside...
|
by: Ajinkya |
last post by:
int main()
{
struct num {
int x,y;
} val = {1,1,2,3,4,5,6,7};
struct num *ptr = val;
int i=0;
for(;i<4;i++) {
ptr->x = ptr->y, ++ptr++->y;
printf("%d,%d ", val.x, val.y);
|
by: amolbehl |
last post by:
Can anyone tell me wht this expression does in ACCESS
IIf(>1,(-)/(-1),) AS ExcludeOutlierAvg
I Encountered this in a query
I do not Understand , mean
Also in
, SumOfQty is a field in...
|
by: NOTSomebody |
last post by:
I am new to Perl and I have these codes but I am not quite understand the regular expression here. Can any1 please explain to me?
$csv = "test.csv";
open(DAT, $csv) || die("Cannot Open File");
...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|