Questions tagged [cc]

cc is a common name for a C compiler executable or driver. It is the default for the $(CC) make variable. For email CC fields, please use [carbon-copy]. For Adobe CC, use [creative-cloud].

290 questions
1
vote
1 answer

Having trouble with defining color values using init_color(); in ncurses in c

I'm using init_color(); in ncurses in C to try to define new RGB color values. However, init_color(); does not take affect and change the default colors once I run the program. I have tried moving around the init_color(); statements before and…
Miles
  • 21
  • 4
1
vote
0 answers

Contact Form 7 Selectable Recipients with Pipe - include CC and BCC

Using WordPress Contact Form 7 and the Selectable Recipient with Pipes, I want to include CC and/or BCC along with the selection. This code doesn't work, but should illustrate my intent. [select* email-recipient "Sales|salesA@yourdomain.com,…
BadCat
  • 11
  • 1
1
vote
1 answer

why modifying *.cc files in ns2 isn't having any change after running 'make' command

I have changed the RTT calculation in tcp.cc file in ns2-allinone > ns2.35 > tcp folder. Then I have run the command 'make clean' and then ran 'make' at this time while running the simulator, it will work with the updated it doesn't show any…
1
vote
1 answer

Linker cc not found when cross-compiling simple crate on Travis CI

As part of one of my projects, I have to cross-compile a Rust crate from x86_64 to i686 on Linux. I'm currently using Travis CI for this, with a simple Hello World crate (the default binary crate). My Travis CI configuration for the relevant matrix…
Arnav Borborah
  • 11,357
  • 8
  • 43
  • 88
1
vote
1 answer

Photoshop(CC) Script that runs the action after the alert box appears

I have a problem with the automation of processes in Photoshop (CC) and I hope that you can help me, or lead me where I could look for answers. I created my own action in PS that processes the photo and adds various graphical elements (I called it…
Artiem
  • 25
  • 7
1
vote
1 answer

Generating an email with powershell -comobject outlook.application add CC

I have found several topics about similar issue but I can not find any documentation for this and none of those correspond my issue directly. $ol = New-Object -comObject Outlook.Application $newmail = $ol.CreateItem(0)…
1
vote
2 answers

Is there a cc equivalent to the -Wformat gcc flag?

My company uses a massive makefile which uses CC to compile, not gcc. I would like to use the -Wformat flag to show errors where types in printf and sprintf don't match with the provided arguments. Does anyone know a similar flag in CC which will…
farnja
  • 11
  • 2
1
vote
2 answers

Add custom user email to CC for specific Woocommerce email notification

In Woocommerce I try to customize the code from this thread to add a custom email as "CC" email address in customer completed order email notification: /** * Function adds a BCC header to emails that match our array * * @param string $headers…
1
vote
1 answer

Undefined symbols for architecture x86_64 _cJSON trying to compile test app

I'm trying to compile using: cc -I ./curl-7.58.0/include/curl -I ./cJSON-master alexa_request_simple_demo.c and I'm getting the error stated in the title. Curl and cJSON both compile fine on my MBP. I've tried including -L ./cJSON-master/build but…
John Smith
  • 3,493
  • 3
  • 25
  • 52
1
vote
1 answer

Linking unistd.h when using CC compiler (Solaris)

I need to link in my program using CC compiler on Solaris. When I needed to link or I just used Google to find -lm and -lcurses flags but this time Google didn't help. How to find out in which lib*something* is…
Ava
  • 818
  • 10
  • 18
1
vote
0 answers

Cliclock CC Build Error 'undefined reference'

I'm trying to build cliclock on ubuntu 16.04 LTS when I had this error ~/Git/cliclock on  master took 7s ➜ make build clock.c CC -Wall -lcurses clock.c clock.c:17:21: fatal error: ncurses.h: No such file or directory compilation…
AlKaef
  • 11
  • 1
1
vote
2 answers

template<> syntax required by Solaris CC, but forbidden by MSVC and GCC

I have the following code in the header file: template class TemplateTest; template<> class TemplateTest { public: float operator() (float a); }; The definition in the cpp file: template<> // this is…
Jane2004
  • 31
  • 3
1
vote
1 answer

Animate CC, creating a code for collectables

I haven't coded since Macromedia, and god things have changed. I'm at a steep learning curve and trying to get back into it. Im making a little flash game where the player collects tacos and the score goes up. No code online that I have found for…
1
vote
1 answer

C use of dirent.h

Final update- Answer is in the comments of the accepted answer. First of all I realize there are a lot of other answers to this question. I've been through most of them and this code is a combination of going through many other answers. All I want…
LBaelish
  • 649
  • 1
  • 8
  • 21
1
vote
1 answer

Using cc results in an error

I had been using the command cc to compile the C programs that I write. Recently, I installed drush and removed it again (right now, I am using a site local drush). After that, when I am trying to compile a C program using cc, I am getting this…