<M/> 170 Why so serious? Featured Poster

what he meant to say was that earlier, you have posted that you have recieved 2-3 high profile company rejections. He is assuming that if you "try out" for Google (or any high profile company, like those in the link i provided), your going to face another rejection. So he recommends you try going with a low profile company, maybe one in your local area?

<M/> 170 Why so serious? Featured Poster

oh okay, that makes sense. I am going to need to MySQL if that is the case.
I will make some attempts in tweaking up the code. Unfortunately i can't show you my php code for the calendar at the moment, when I come back from the gym, i will post it so you can review it.

Thank you for being the first to help.

This is sent from my phone.

<M/> 170 Why so serious? Featured Poster

I found this: http://www.ibm.com/developerworks/xml/library/x-youtubeapi/

I am not sure if it will help.

Have you read YouTube's API's? Maybe that'll trigger some clues

<M/> 170 Why so serious? Featured Poster

I don't think you have posted this in the right place. I will flag it so it can be moved to the right forum.

<M/> 170 Why so serious? Featured Poster

paranoia... well, it was a movie... and it sucked :/

<M/> 170 Why so serious? Featured Poster

Sheesh - Stuugie has eaten eels, says he. (sorry stuugie if you don't like eels)

xyloid :)

<M/> 170 Why so serious? Featured Poster

I am trying to create a calendar that allows me to add notes and allow people to view it and comment on the event for each day. I understand how to make the calendar out of php (i have already created it) but how do i get it so that i can add events to the calendar and also integrate a commenting system? I may use something like disqus for the commenting but the more code i write, the better.

So anyways. How do i incorporate a way that would allow me to add events to a calendar and allow people to comment on it (my users)? Can someone guide me through this problem? ideas/snippets/examples can help... I know this possible (i see it all the time, for example Schoolloop, except they don't have a commenting system on their own)

Thank you.

In the mean time, i will be searching for/creating an answer.

<M/> 170 Why so serious? Featured Poster

Heretical: Here, eating relish extravagantly... try it... could apples live?

Okay... i totatly failed on it, lol.

extravaganza

Stuugie commented: lmao, this game is difficult but I like it! +0
<M/> 170 Why so serious? Featured Poster

crazy - crazy republicans are zeals... yuck.

Xerox

Reverend Jim commented: Nice recursion +0
<M/> 170 Why so serious? Featured Poster

all set up are already done which is given in comments and which is given by OP in the question ? . Are you done with both of them ?

I am sorry, i don't understand what you mean. Can you reclarify, i think i misread what you meant?

<M/> 170 Why so serious? Featured Poster

Volkswagen- Vwhat, ol lowvers keel sat wagen. Andz getz eh notes! (i went a little creative, and did it an accent, i think it is german :D)

Ferrari

<M/> 170 Why so serious? Featured Poster

oh okay i see what's going on. I am going to expand on this code and tweak it a bit more. Do you have any other suggestions in making my code better?

<M/> 170 Why so serious? Featured Poster

... strange, i already have it set up like that? Any other clues?

<M/> 170 Why so serious? Featured Poster

I see that, but that wasn't what i was hoping to see on visual studios. It says that there was an error, so it compiles the wrong file...

On the link you provided, it shows that it compiles but it doesn't allow me to put an output and it marks the card value as 0. I think i am getting a little confusing (sorry about that, i tend to do that). Any other clues?

<M/> 170 Why so serious? Featured Poster

I will do both. I will wait for an answer + i will be searching for an answer, so i can share my knowledge.

<M/> 170 Why so serious? Featured Poster

Oh okay, i will use that. I am also seeing some additional errors on top of my current errors.

Other errors i am recieving are:
error C2065: 'val' : undeclared identifier

error C2143: syntax error : missing ';' before 'type'

<M/> 170 Why so serious? Featured Poster

You mean like this?:

#include <stdio.h>
#include <stdlib.h>

int main(void)
{

    char card_name[3];
        puts("Enter the card name: ");
            scanf("%s", card_name);
                int val = 0;
                if (card_name[0] == 'K') 
                    {
                        val = 10;
                    } 
                else if (card_name[0] == 'Q')
                    {
                        val = 11;
                    }
                else if (card_name[0] ==  'J')
                    {
                        val = 12;
                    }
                else if (card_name[0] == 'A')
                    {
                        val = 13;
                    }
                else 
                    {
                        val = atoi(card_name);
                    }
                    printf("The card value is: %i\n", val);
                    return 0;

}

3 problems...

  1. I don't know if this is done correctly (i am a newbie....)
  2. It says that a PDB file is missing.
  3. (a bit off topic) When i compile this code, it keeps on compiling code of another file, not the current one.

Sorry about all my questions, I am just trying to learn this the best that i can.

<M/> 170 Why so serious? Featured Poster

Users build understandable notes to use.

Lamborghini

<M/> 170 Why so serious? Featured Poster

hmmm, i tried that a few hours ago (even updated it to the latest version).
I still see the error. Any clues?

<M/> 170 Why so serious? Featured Poster

@nitin1, No problem :)

<M/> 170 Why so serious? Featured Poster

Samsung could be a great place to work, but i am not too familiar with it...

Here read this: http://www.businessinsider.com/the-worlds-highest-paid-software-engineers-work-for-these-25-companies-2013-4?op=1

Maybe this can help if your looking it at a salary perspective?

<M/> 170 Why so serious? Featured Poster

Today I am going to show you how to create a C project in Visual Studios.

Step 1. Launch Visual Studios and select Visual C++ in the start window. In the Visual C++ section, click on Win32 Console Application. Give your project a name and click submit.

Step 2. A new window should pop out and it should be called Win32 Application Wizard. Click next on the window (not finsish). In the next page, click on Console Application and uncheck the Precompiled Header. Then click finish.

Step 3. You should now see a little bit of code on the screen (that is good). Go to the solution explorer and find the source file menu. Right click on it and add a new item. Now select the C++ file and name it whatever you want but make sure it is a .c not a ** .cpp**.

Final. Now you can start writing C in visual studios...

I hoped this helped some of you guys.

<M/> 170 Why so serious? Featured Poster

As i work through my code, i notice a little error message as i try to compile/build my code. It says that the PDB File is missing.

Can someone explain to me what is a PDB file and how do i make it "visible" in order to keep the error messages from showing up?

thank you.

I am using visual studios 2012, windows 8.

<M/> 170 Why so serious? Featured Poster

Google is always a great place for a software developer but Google isn't the only place in becomming a great software developer. There are many big companies out there that pay higher but lets be honest here, everyone knows google... even the people in China who use Baidu know Google very well.

Anyways... Working for Google will be great, espicially if you have finished your studies.

jafor_1 commented: fake +0
<M/> 170 Why so serious? Featured Poster

@zeroliken, I have made the change, but i am still seeing an error.

@somjit{}, i will make sure I will follow your techniques and methods (the best that i can).

Unfortunatelly, i am still getting errors...

This is my current code:

#include <stdio.h>
#include <stdlib.h>

int main(void)
{

    char card_name[3];
        puts("Enter the card name: ");
            scanf_s("%s", card_name);
                int val = 0;
                if (card_name[0] == 'K') 
                    {
                        val = 10;
                    } 
                else if (card_name[0] == 'Q')
                    {
                        val = 11;
                    }
                else if (card_name[0] ==  'J')
                    {
                        val = 12;
                    }
                else if (card_name[0] == 'A')
                    {
                        val = 13;
                    }
                else 
                    {
                        val = atoi(card_name);
                    }
                    printf("The card value is: %i\n", val);
                    return 0;

}

Could the errors come from the ways I use "val" in the else if statements?

<M/> 170 Why so serious? Featured Poster

Steak - Smelly turkey eaten at Kentucky

Microsoft.

<M/> 170 Why so serious? Featured Poster
<M/> 170 Why so serious? Featured Poster

Great, i really anticipate failing farsi easily.

Chevron

<M/> 170 Why so serious? Featured Poster

Indigestion: i noticed dogs in Germany eat smelly things, I only noticed...

Wozniak

<M/> 170 Why so serious? Featured Poster

I have been reading the head first book about C and I am having a bit of problem with one of the given examples. The example is shown talking about a "code magnet" for a game of blackjack. I went to try out the code and tried to make my own tweaks to it and i don't understand the "errors" I am getting.

Here is the code I have been playing around with:

#include <stdio.h>
#include <stdlib.h>

int main()
{

    char card_name[3];
        puts("Enter the card name: ");
            scanf("&2s", card_name);
                int val = 0;
                if (card_name[0] == 'K') 
                    {
                        val = 10;
                    } 
                else if (card_name[0] == 'Q')
                    {
                        val = 10;
                    }
                else if (card_name[0] ==  'J')
                    {
                        val = 10;
                    }
                else if (card_name[0] == 'A')
                    {
                        val = 11;
                    }
                else 
                    {
                        val = atoi(card_name);
                    }
                    printf("The card value is: %i\n", val);
                    return 0;

}

Someone, please explain to me what I am getting wrong. I am a bit lost on what my mistakes are. I am new to C for the heads up. (I am only about 3-5 days experienced).

<M/> 170 Why so serious? Featured Poster

Well, in the last 2+ weeks, what have you tried?

Have you read this: http://www.tuxradar.com/practicalphp/11/2/30

You can google your question, there are a lot of solutions... trust me.

<M/> 170 Why so serious? Featured Poster

I solved the problem, thanks!

<M/> 170 Why so serious? Featured Poster

I solved the problem(s), thanks for reading!

<M/> 170 Why so serious? Featured Poster

internet- I note that every ringer notifies every traveler... i don't that was really hard.

Zynga

<M/> 170 Why so serious? Featured Poster

1 cat, 2 dogs (maltese and a black and tan havanese (we get the havanese about 1-2 months ago)

<M/> 170 Why so serious? Featured Poster

Why not read this?
http://wedding.theknot.com/getting-engaged/marriage-proposals/articles/50-romantic-ways-to-propose.aspx

i prefer you get an idea from here:

http://www.oddee.com/item_96708.aspx

I also never thought that I would ever see a post about proposals on this site...

<M/> 170 Why so serious? Featured Poster

How do i create a c project properly in visual studios. They (Youtube) say to click on the C++ button and change it from .cpp to .c. But when I debug my code to see my code compiled, I get an error saying that a PDB file is missing.

What is it that I am missing out on? I can't even run a simple Hello World program. Can someone guide me through this problem???

Thanks!

I am using Visual Studios 2012, windows 8.

<M/> 170 Why so serious? Featured Poster

First: There are no shamefull questions.

I find it a shameful question because I know how to do it, just for some odd reason it doesn't work well when i am running a c program.

Second: Why would you like to keep a debug window open when there is no program running in VS?

I am trying to view the program that i have compiled. A simple hello world is what i am trying to compile. I am doing this (to compile):

/* Hello World program */

#include<stdio.h>

main()
{
    printf("Hello World, I am writing in C");

}

I went through the link you provided, and i still can't keep that debug window open... even when i click (ctrl + f5)...

Any other clues and resources? Maybe a video in this case? I could be missing out on something.

<M/> 170 Why so serious? Featured Poster

Microsoft- Mothers in california really offer ####ty opinons for traders.

Michael :)

<M/> 170 Why so serious? Featured Poster

Do you have anymore questions left for us to answer based on this topic? If not, you can mark this question solved. If not, ask away! :)

<M/> 170 Why so serious? Featured Poster

I see how that works in codeblocks, but how can i get this to work in visual studios (2012)? I don't really seee that in vs...

<M/> 170 Why so serious? Featured Poster

Good one Gonbe :) I will try my best to learn from your snippet (I am new to C, i have been at it for about 2 days :D)

<M/> 170 Why so serious? Featured Poster

@ObSys, thanks for the recommendation, i should give that a try :)

@paulkd, thanks :)

<M/> 170 Why so serious? Featured Poster

ummm.... twitter and skype are pretty well known.

<M/> 170 Why so serious? Featured Poster

Every American Stops You

Daniweb :)

<M/> 170 Why so serious? Featured Poster

Difficult is for fat incompetent children ultimately learning trades.

That was hard....

Programming

<M/> 170 Why so serious? Featured Poster

This is a shameful question for me to ask but how do i keep the debug window open... it keeps on closing automatically rather than me closing it manually.

I am using visual studios and it used to work when I just simply click (ctrl + f5). I doesn't work when i am comiling C....

Any ideas why this is happening?

<M/> 170 Why so serious? Featured Poster

Eli's xbox corrupted everyone's lives.

Stuugie :)

<M/> 170 Why so serious? Featured Poster

Tool - "Too old, out laddie!" - some old guy :)

Google

<M/> 170 Why so serious? Featured Poster

HTML isn't that hard to learn.

No language is hard to learn, it just takes time and practice.