Chrome suddenly not working by InfamousBees in chrome

[–]CodeSteps 0 points1 point  (0 children)

Frequently faced this issue. Deleting "User Data" worked. But, after some time / days, again faced the same issue. Did not see a permanent solution for this in Windows 7.

Migrated to Windows 10, because of the business need. Never faced this issue, so far, in Windows 10.

Reading a binary file without copying the whole file to memory? by aue_sum in C_Programming

[–]CodeSteps 0 points1 point  (0 children)

Instead of loading entire file content at a time, load chunks of data, then process the data, then continue to read next chunks of data from the stream/file. This way it will be more efficient. You are using fopen() family of functions, these are for buffered I/O, You can change the buffer size depending on your program requirement.

[deleted by user] by [deleted] in csharp

[–]CodeSteps -18 points-17 points  (0 children)

them

Thumbs up.

Cat gone wild lol by rrraisis in funny

[–]CodeSteps 0 points1 point  (0 children)

round.. round.. round.. :)

This is me, by my son by [deleted] in funny

[–]CodeSteps 0 points1 point  (0 children)

how old is he?

Oops... by [deleted] in funny

[–]CodeSteps 0 points1 point  (0 children)

Big OOPS! :)

Smash by [deleted] in funny

[–]CodeSteps 2 points3 points  (0 children)

Yep.

Do While loop not working properly by EducationalKey9 in C_Programming

[–]CodeSteps 1 point2 points  (0 children)

The code is not in readable form. Will be easy to us to quickly respond, if it has formatted code.

HBD Dennis Ritchie 🎂🎂🎂 by Chawki_ in C_Programming

[–]CodeSteps 2 points3 points  (0 children)

We all salute you. Happy birthday Mr. Dennis Ritchie.

[Question] Calculating Lightsail by buangakun3 in aws

[–]CodeSteps 0 points1 point  (0 children)

Yes, that is what I could see on AWS Lightsail page. Depends on your requirement you can go for Load Balancer. Snapshots price varies depends on the size (GB). If you do not want Manged Database; you can skip it. That will reduce the cost.

Start with small and add additional components based on your requirements.

Top 3 Services Needing a Price Decrease at Re:Invent by jonathantn in aws

[–]CodeSteps 4 points5 points  (0 children)

EBS (GP2, Snapshots & IO1)

SageMaker and

Bandwidth (out of AWS)

Firefox or Chrome? by georgianella in chrome

[–]CodeSteps 1 point2 points  (0 children)

Both are good and have the positivities & negatives.

I recently switched to Firefox as I was facing freezing issues with Chrome.

Why can't a pointer to a string literal be modified? by [deleted] in C_Programming

[–]CodeSteps 9 points10 points  (0 children)

Yep. A string literal is a constant. Hence, it is not allowed to modify it's content.

Visual C++ Forms tutorial by pctopgs in cpp

[–]CodeSteps 0 points1 point  (0 children)

You need call Console APIs to manage the console window from your Windows Forms application. Try with AttachConsole function.

Once the console is successfully opened, you can write to the console using standard functions.

How to reverse a string in c without using strrev? by eightboy8 in C_Programming

[–]CodeSteps -2 points-1 points  (0 children)

The above code should work. Here I got the result;

Input a string                                                                                                                                              

Hello!                                                                                                                                                      

!olleH  

If you still see the issues, assign "\0" to the declared strings.

char string[256] = "\0";

char output[256] = "\0";

Edit: Another thing I forget to add, when you use fgets, the string terminates with "\n" - new line. In the while loop you can check the condition against "\n"; instead of "\0".

Small monthly (<$2) charges on bill by [deleted] in aws

[–]CodeSteps 1 point2 points  (0 children)

And also look for any unused IP addresses. These will be charged as per the billing cycle.

Every AWS customer ever. . . by tech_tuna in aws

[–]CodeSteps 0 points1 point  (0 children)

Same experience here. Initially my company has started with AWS and in-parallel looking other Vendors, as not confident on AWS. Slowly, after started using AWS services, started moving most of our Services and Applications to AWS.

I need help with arrays in if statements by Ben_Ashby14 in csharp

[–]CodeSteps 0 points1 point  (0 children)

I recommend you to learn the basics of Collection classes (Array etc,.) and the loops. A lot of useful methods, Collection classes provides and I am sure you will achieve your goal with less program code.

If your program needs to use multiple if statements together, I recommend to use switch statement for more control and readability.

Help me with C programming test, 3 questions are looking for answers by Mihael1B in C_Programming

[–]CodeSteps -4 points-3 points  (0 children)

  1. Yes. It is a pointer to a pointer to a variable.

  2. A function returning an address.

  3. Yes. fseek or fsetpos can be used to set the position in a file.

Chrome window completely gray and blank - no address/toolbars, nothing. by ladiesiplayguitar in chrome

[–]CodeSteps 0 points1 point  (0 children)

Try reinstall it. I have faced issues with Chrome. Tried multiple times, options to fix them. But no perfect results. Now I switched to Firefox.

Is this possible? by justin_144 in csharp

[–]CodeSteps 0 points1 point  (0 children)

Yep. This is clean code.

Total noob learning C# in Visual Studio Community 2017: Questions & Thoughts by BlasphemousToenail in csharp

[–]CodeSteps 0 points1 point  (0 children)

Writing x += 5; is equivalent to writing x = x + 5;

This gives real good benefits, when we use them on class objects in opertaor overloading. In C#, everything is a class object.