Lens Std

Lens Std
Visual C + + and Borland C + + help?

include # Include "conio.h" # include "string.h" # include # Include "stdio.h" using namespace std; void main () {system ("cls"); nameStr string, int len; abc characters [50] $ char (5), / / ​​change the default value of $ to <new symbols <court "what is your name?" getline (Cin, nameStr) court < abc = namestr; // how do i do this in Visual C + + 2010 y Borland Turbo C ++???????? len = strlen ("nameStr"); court <<" n" < char ch;
cout<<"nenter a character que desea reemplazar a su nombre ";> cin> ch; for (int i = 0; i <50; i + +) {if (abc [i] == ch) abc [i] = $;} court < _getch();
}

There are multiple problems. 1) The concepts are mixing C with C + +, you can not assign a string data type to an array of characters. 2) You can use namestr.replace to achieve what you are trying to do with the loop 3) Instead of variable string nameStr why you can not take input directly to the array of characters abc? Studying this ———————– ——————– # Include # Include "conio.h" # include "string.h" # include using namespace std int main () {system ("cls"); nameStr string, int len, $ char (5), / / ​​default to change dollars into new symbols court <<"What is your name?" getline (cin, nameStr) court <

char *abc=new [Namestr.size () +1] char; [namestr.size ()] abc = 0; memcpy (namestr.c_str abc (), namestr.size ()); Len = strlen (abc) court <<" n" < char ch; cout <<" nNo olvides incluir un personaje que desea reemplazar your name "> cin> ch; for (int i = 0; i <50; i + +) {if (abc [i] == ch) [abc i] = $;} court < cin.get();
}
.

Panasonic SDR-S50N Std-Def SD Camcorder with 78X Zoom & Wide angle Lens (Gold)

eBay Logo  

MAMIYA VINTAGE 35mm CAMERA 3 lenses Std, Telephoto, Wide Angle, Flash and Bag


MAMIYA VINTAGE 35mm CAMERA 3 lenses Std, Telephoto, Wide Angle, Flash and Bag


$199.00


Sony 1/3 CCD Std Box Camera w/3.5-8mm auto-iris lens U2S


Sony 1/3 CCD Std Box Camera w/3.5-8mm auto-iris lens U2S


$48.00


2- 69  VW Tailights  W/Lense Tailamp Germany VW SB SAE Std DP 168 Bug ?


2- 69 VW Tailights W/Lense Tailamp Germany VW SB SAE Std DP 168 Bug ?


$55.00


NEW AUTHENTIC OAKLEY FLAK JACKET STD FIRE IRIDIUM REPLACEMENT LENS


NEW AUTHENTIC OAKLEY FLAK JACKET STD FIRE IRIDIUM REPLACEMENT LENS


$44.99


50MM F1.5 CARL ZEISS SONNAR LENS ARRI STD MT. RED MITCHELL


50MM F1.5 CARL ZEISS SONNAR LENS ARRI STD MT. RED MITCHELL


$1,100.00


Zion Power View 20X280X 70MM Lens Military Std SUPER Zoom Binoculars Heavy Duty


Zion Power View 20X280X 70MM Lens Military Std SUPER Zoom Binoculars Heavy Duty


$109.99


Schneider Kreuznach Xenon 25mm f1,5 Lens, Arri STD Mt, 16mm, ARRI, Arriflex


Schneider Kreuznach Xenon 25mm f1,5 Lens, Arri STD Mt, 16mm, ARRI, Arriflex


$28.00


Pan Cinor Som Berthiot F. 17.5-70mm f/2,0 Zoom Lens, Arri STD Mount, Arriflex


Pan Cinor Som Berthiot F. 17.5-70mm f/2,0 Zoom Lens, Arri STD Mount, Arriflex


$25.00


HOYA 52mm Std Circular Polarizer for DA 18-55mm Lens


HOYA 52mm Std Circular Polarizer for DA 18-55mm Lens


$38.85


TRIUMPH 2000 1962 Series Tail Light Lens


TRIUMPH 2000 1962 Series Tail Light Lens


$59.95


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>